Don't use the ctime for testing, it is impossible to set it reliably.
authorJim Meyering <jim@meyering.net>
Wed, 27 May 1998 12:35:56 +0000 (12:35 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 27 May 1998 12:35:56 +0000 (12:35 +0000)
tests/ls/cr-1

index 202b3d8..fc91655 100755 (executable)
@@ -40,10 +40,10 @@ fi
 
 fail=0
 
-set `$LS -c a b c`
+set `$LS -t a b c`
 test "$*" = 'a b c' && : || fail=1
 
-set `$LS -rc a b c`
+set `$LS -rt a b c`
 test "$*" = 'c b a' && : || fail=1
 
 cd ..