summaryrefslogtreecommitdiff
path: root/tests/rm/no-give-up
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/no-give-up')
-rwxr-xr-xtests/rm/no-give-up1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/rm/no-give-up b/tests/rm/no-give-up
index 0c6aefa5c..a0ba383d6 100755
--- a/tests/rm/no-give-up
+++ b/tests/rm/no-give-up
@@ -32,7 +32,6 @@ chown -R $NON_ROOT_USERNAME d || framework_failure
# Ensure that non-root can access files in root-owned ".".
chmod go=x . || framework_failure
-fail=0
# This must fail, since `.' is not writable by $NON_ROOT_USERNAME.
setuidgid $NON_ROOT_USERNAME env PATH="$PATH" rm -rf d 2>/dev/null && fail=1