diff options
Diffstat (limited to 'tests/rm/inaccessible')
-rwxr-xr-x | tests/rm/inaccessible | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible index 721210a2a..02128d70e 100755 --- a/tests/rm/inaccessible +++ b/tests/rm/inaccessible @@ -56,9 +56,9 @@ fail=0 p=$pwd/$tmp set +x -(cd no-access; chmod 0 . && rm -r "$p"/abs1 rel "$p"/abs2) 2> out && fail=1 -test -d "$p"/abs1 && fail=1 -test -d "$p"/abs2 && fail=1 +(cd no-access; chmod 0 . && rm -r "$p/abs1" rel "$p/abs2") 2> out && fail=1 +test -d "$p/abs1" && fail=1 +test -d "$p/abs2" && fail=1 cat <<\EOF > exp || fail=1 rm: cannot remove `rel': Permission denied |