diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-08 16:53:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-08 16:53:36 +0000 |
commit | 1068a0005ae17ae49230225ba1d649530a71922b (patch) | |
tree | 6cfc3f23b2eadb1269226ea2559e86947b84b985 /tests/shred | |
parent | cf197bb14aa8cd9b9bcf6f9853884172b9d4a0e0 (diff) | |
download | coreutils-1068a0005ae17ae49230225ba1d649530a71922b.tar.xz |
Don't use touch in root test. Instead, append to
the test file, since now touch operates even on files which deny owner
write access.
Diffstat (limited to 'tests/shred')
-rwxr-xr-x | tests/shred/remove | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shred/remove b/tests/shred/remove index 4ab11f4c0..4b3801acd 100755 --- a/tests/shred/remove +++ b/tests/shred/remove @@ -23,7 +23,7 @@ if test $framework_failure = 1; then exit 1 fi -touch $tmp/file >/dev/null 2>&1 && { +echo foo >> $tmp/file >/dev/null 2>&1 && { echo '********************************************' echo 'NOTICE: This test case cannot be run as root.' echo '********************************************' |