diff options
Diffstat (limited to 'tests/rm')
-rwxr-xr-x | tests/rm/cycle.sh | 2 | ||||
-rwxr-xr-x | tests/rm/rm1.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/cycle.sh b/tests/rm/cycle.sh index d5dbb9e4f..483b748e1 100755 --- a/tests/rm/cycle.sh +++ b/tests/rm/cycle.sh @@ -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 diff --git a/tests/rm/rm1.sh b/tests/rm/rm1.sh index 85a5b27aa..7893958e4 100755 --- a/tests/rm/rm1.sh +++ b/tests/rm/rm1.sh @@ -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. |