diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp index 109b92cc8..a81f11210 100644 --- a/tests/unistd_test.cpp +++ b/tests/unistd_test.cpp @@ -759,6 +759,7 @@ TEST(UNISTD_TEST, _POSIX_macros_smoke) { EXPECT_GT(_POSIX_TZNAME_MAX, 0); EXPECT_NE(-1, _POSIX_VDISABLE); + EXPECT_EQ(_POSIX_VERSION, _POSIX2_VERSION); EXPECT_GT(_POSIX2_BC_BASE_MAX, 0); EXPECT_GT(_POSIX2_BC_DIM_MAX, 0); EXPECT_GT(_POSIX2_BC_SCALE_MAX, 0); @@ -784,7 +785,6 @@ TEST(UNISTD_TEST, _POSIX_macros_smoke) { EXPECT_EQ(-1, _POSIX_SPAWN); EXPECT_EQ(-1, _POSIX_THREAD_ROBUST_PRIO_INHERIT); - EXPECT_EQ(-1, _POSIX2_VERSION); EXPECT_EQ(-1, _POSIX2_CHAR_TERM); EXPECT_EQ(-1, _POSIX2_C_DEV); EXPECT_EQ(-1, _POSIX2_LOCALEDEF);