loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am: d6b25861d0 am: a5f74a4a80  -s ours am: 3c77ef5326 am: 6cb0d4b2aa am: 781c67bd62 am: 8666246971 am: 9bc88caa31 am: 2542cfdb44 am: ee7deb734d am: 46dfffdc67 am: 43475fdae4 am: ac62e82856 am: 1001ee78ba
am: eba2e77eb6

Change-Id: I39233540d7e5d22552231a0050664d3d9f479e27
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp
index 28f19a1..a81f112 100644
--- a/tests/unistd_test.cpp
+++ b/tests/unistd_test.cpp
@@ -775,12 +775,6 @@
   EXPECT_GT(_XOPEN_IOV_MAX, 0);
   EXPECT_GT(_XOPEN_UNIX, 0);
 
-  // In O, the headers still have -1 (even though all the functionality has
-  // been there for a long time). This was fixed in O-DR, but there isn't a
-  // separate CTS for O-DR, so we'll accept both.
-  EXPECT_TRUE(_POSIX_THREAD_PROCESS_SHARED == -1 ||
-              _POSIX_THREAD_PROCESS_SHARED == _POSIX_VERSION);
-
 #if defined(__BIONIC__)
   // These tests only pass on bionic, as bionic and glibc has different support on these macros.
   // Macros like _POSIX_ASYNCHRONOUS_IO are not supported on bionic yet.