From: Erik van der Kouwe Date: Fri, 4 Sep 2009 20:23:25 +0000 (+0000) Subject: Disabled check in test 28 which hard links a directory; this is nott required by... X-Git-Tag: v3.1.5~158 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=f92e0dafb50d81e57f73ee1c558e43d090e1f62a;p=minix.git Disabled check in test 28 which hard links a directory; this is nott required by POSIX and not supported (currently) by MINIX. Also corrected total number of tests. --- diff --git a/test/run b/test/run index 2c571b907..5a63df35f 100755 --- a/test/run +++ b/test/run @@ -12,7 +12,7 @@ badones= # list of tests that failed # Print test welcome message clr -echo "Running POSIX compliance test suite. There are 42 tests in total." +echo "Running POSIX compliance test suite. There are 43 tests in total." echo " " # Run all the tests, keeping track of who failed. diff --git a/test/test28.c b/test/test28.c index d52051ee6..223726c84 100644 --- a/test/test28.c +++ b/test/test28.c @@ -234,12 +234,14 @@ void test28b() if (unlink("foo/empty") != 0) e(34); /* rm empty */ /* See what happens if foo is linked. */ +#if 0 if (superuser) { if (link("foo", "footoo") != 0) e(35); /* foo still */ if (rmdir("footoo") != 0) e(36); /* exist */ if (chdir("footoo") != -1) e(37); /* footoo */ if (errno != ENOENT) e(38); /* is gone */ } +#endif #ifdef _MINIX /* Some implementations might allow users to link directories. */ if (!superuser) {