From 01014bb951be2a3b5ad861f26c0a85a47a9f6326 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 17 Jul 2006 03:12:22 +0000 Subject: Remove re_protect case that no longer applies. GNU chmod now behaves like other versions of chmod. --- tests/mkdir/p-3 | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/mkdir') 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 -- cgit v1.2.3-54-g00ecf