From d33f54f74fef54a099cbb15dd581c2ac95fb8ba7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 Nov 2000 08:01:57 +0000 Subject: Use touch with `-d tomorrow' to avoid race condition. --- tests/touch/no-rights | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/touch') diff --git a/tests/touch/no-rights b/tests/touch/no-rights index 2babd6814..3906564a8 100755 --- a/tests/touch/no-rights +++ b/tests/touch/no-rights @@ -25,7 +25,7 @@ set x `ls -t $t1 $t2` test "$*" = "x $t2 $t1" || fail=1 chmod 0 $t1 -touch -c $t1 || fail=1 +touch -d tomorrow -c $t1 || fail=1 set x `ls -t $t1 $t2` test "$*" = "x $t1 $t2" || fail=1 -- cgit v1.2.3-70-g09d2