Remove re_protect case that no longer applies.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:12:22 +0000 (03:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:12:22 +0000 (03:12 +0000)
GNU chmod now behaves like other versions of chmod.

tests/mkdir/p-3

index 22c9074..c3e5552 100755 (executable)
@@ -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