From: Paul Eggert Date: Mon, 17 Jul 2006 03:12:22 +0000 (+0000) Subject: Remove re_protect case that no longer applies. X-Git-Tag: v6.0~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01014bb951be2a3b5ad861f26c0a85a47a9f6326;p=thirdparty%2Fcoreutils.git Remove re_protect case that no longer applies. GNU chmod now behaves like other versions of chmod. --- diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3 index 22c9074f2d..c3e5552010 100755 --- a/tests/mkdir/p-3 +++ b/tests/mkdir/p-3 @@ -40,14 +40,4 @@ b=`ls $p/a|tr -d '\n'` # With coreutils-5.3.0, this would fail with $b=bu. test "x$b" = xb || fail=1 -# Ensure that the re_protect code is run on absolute names, even -# after failure to return to the initial working directory. -# This is actually a test of the underlying mkdir-p.c code. -# The part in question cannot be tested via mkdir(1) because that -# program cannot create leading directories that lack u=wx permissions, -# so we have to test with install (aka ginstall in the build directory). -(cd no-acce3s; chmod 0 . && ginstall -m 0 -d $p/c/b $p/y/z) || fail=1 -p=`ls -ld $p/y|sed 's/ .*//'` -case $p in d---------);; *) fail=1;; esac - exit $fail