# Also test the combination of --no-create and -a.
authorJim Meyering <jim@meyering.net>
Sat, 13 Nov 1999 23:20:14 +0000 (23:20 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 Nov 1999 23:20:14 +0000 (23:20 +0000)
tests/touch/no-rights

index ba22382..facc7ac 100755 (executable)
@@ -29,6 +29,9 @@ touch -c $t1 || fail=1
 set x `ls -t $t1 $t2`
 test "$*" = "x $t1 $t2" || fail=1
 
+# Also test the combination of --no-create and -a.
+touch -a --no-create $t1 || fail=1
+
 rm -f $t1 $t2
 
 exit $fail