From 1068a0005ae17ae49230225ba1d649530a71922b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 8 May 2000 16:53:36 +0000 Subject: 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. --- tests/shred/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shred') 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 '********************************************' -- cgit v1.2.3-70-g09d2