summaryrefslogtreecommitdiff
path: root/tests/misc/truncate-owned-by-other
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/truncate-owned-by-other')
-rwxr-xr-xtests/misc/truncate-owned-by-other1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/misc/truncate-owned-by-other b/tests/misc/truncate-owned-by-other
index 61cbe8b50..c7bdf61c2 100755
--- a/tests/misc/truncate-owned-by-other
+++ b/tests/misc/truncate-owned-by-other
@@ -35,7 +35,6 @@ chmod g+w root-owned
# Ensure that the current directory is searchable by $NON_ROOT_USERNAME.
chmod g+x .
-fail=0
setuidgid $NON_ROOT_USERNAME env PATH="$PATH" truncate -s0 root-owned || fail=1
Exit $fail