summaryrefslogtreecommitdiff
path: root/tests/rm/no-give-up.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/no-give-up.sh')
-rwxr-xr-xtests/rm/no-give-up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/no-give-up.sh b/tests/rm/no-give-up.sh
index 41070c9de..958f9e882 100755
--- a/tests/rm/no-give-up.sh
+++ b/tests/rm/no-give-up.sh
@@ -30,7 +30,7 @@ chmod go=x . || framework_failure_
# This must fail, since '.' is not writable by $NON_ROOT_USERNAME.
-chroot --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
+chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \
rm -rf d 2>/dev/null && fail=1
# d must remain.