]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 13 Dec 1999 22:37:15 +0000 (22:37 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 13 Dec 1999 22:37:15 +0000 (22:37 +0000)
tests/shred/remove

index 4664ca4a66a56d6799b04809ca514fc4d7244fdd..8f4be671c283a780cd07ab9ac76674e80ae5b5ac 100755 (executable)
@@ -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