1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

tests: avoid false failure due to remove() ignoring u-w on NFS

* tests/rm/rm1.sh: Also remove the group write bit which
was required on one NFS setup at least.  Note u-w was
enough to deny file creation, g-w was also required to
deny file removal.
* tests/rm/cycle.sh: Likewise.
* tests/mv/perm-1.sh: Likewise.
This commit is contained in:
Pádraig Brady
2016-01-19 17:49:11 +00:00
parent b4f10133bf
commit 7c2e423409
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ skip_if_root_
mkdir -p a/b
touch a/b/file
chmod u-w a/b
chmod ug-w a/b
rm -rf a a 2>&1 | sed 's/:[^:]*$//' > out || fail=1

View File

@@ -21,7 +21,7 @@ print_ver_ rm
skip_if_root_
mkdir -p b/a/p b/c b/d || framework_failure_
chmod u-w b/a || framework_failure_
chmod ug-w b/a || framework_failure_
# This should fail.