You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tests] Disable MonoTests.Mono.Unix.Native.MemfdTest.TestMemfd test (#4869)
Android 11/API-30 made the [**memfd_create**(2)][0] Linux-specific API
fail whenever the `MFD_CLOEXEC | MFD_ALLOW_SEALING` combination of flags
is passed to it, resulting in "BCL" unit test failures:
Xamarin.Android.Bcl_Tests, MonoTests.Mono.Unix.Native.MemfdTest.TestMemfd / Release
System.ArgumentOutOfRangeException : Current platform doesn't support this value.
Parameter name: value
Actual value was MFD_CLOEXEC, MFD_ALLOW_SEALING.
Disable the test altogether, since this API isn't used by
`Xamarin.Android` and any applications using it will/should check the
`errno` variable for the `ENOSYS` value to see if the API is supported
or not. This will unblock us, allowing update of our Android emulator
system image to API 30.
[0]: https://man7.org/linux/man-pages/man2/memfd_create.2.html
0 commit comments