[tests] Disable on Android, getpwnam_r doesn't exist there
authorMarek Habersack <grendel@twistedcode.net>
Tue, 21 Jul 2015 21:38:42 +0000 (23:38 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Tue, 21 Jul 2015 22:15:47 +0000 (00:15 +0200)
mcs/class/Mono.Posix/Test/Mono.Unix/UnixUserTest.cs

index 0e5fa71c1ec5ce8d2b54ca87914c09bd71c466ca..30f0450637ca6e68faa464296628120ee4abfd73 100644 (file)
@@ -121,6 +121,7 @@ namespace MonoTests.Mono.Unix {
                }
 
                [Test]
+               [Category ("AndroidNotWorking")] // API 21 has getpwnam_r in the NDK headers, but bionic doesn't export it
                public void InvalidUsers_Constructor_Name ()
                {
                        string[] badUsers = new string[]{"i'm bad", "so am i", "does-not-exist"};