summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-12-13 22:37:15 +0000
committerJim Meyering <jim@meyering.net>1999-12-13 22:37:15 +0000
commit99aa95f9452bf0c8504d443e0512516009165659 (patch)
treeaa757af947900d885f09912ba415e68d7c66dbc0 /tests
parent927b1d42fb66ab5306f4ab34325deb9a41757f85 (diff)
downloadcoreutils-99aa95f9452bf0c8504d443e0512516009165659.tar.xz
*** empty log message ***
Diffstat (limited to 'tests')
-rwxr-xr-xtests/shred/remove5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/shred/remove b/tests/shred/remove
index 4664ca4a6..8f4be671c 100755
--- a/tests/shred/remove
+++ b/tests/shred/remove
@@ -21,9 +21,10 @@ fi
fail=0
# This would infloop with the version from fileutils-4.0k.
-shred -u $tmp/file
+# Expect it to fail.
+shred -u $tmp/file > /dev/null 2>&1 && fail=1
-cd ..
+chmod u+w $tmp
rm -rf $tmp
exit $fail