summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:12:22 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:12:22 +0000
commit01014bb951be2a3b5ad861f26c0a85a47a9f6326 (patch)
tree6d7444f7e6fdab84d73f30ef21651ef8b8306e29 /tests/mkdir
parent4d9d2da4a8815397ef22b3ba70e70f372260cb3c (diff)
downloadcoreutils-01014bb951be2a3b5ad861f26c0a85a47a9f6326.tar.xz
Remove re_protect case that no longer applies.
GNU chmod now behaves like other versions of chmod.
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/p-310
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3
index 22c9074f2..c3e555201 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