From: Jim Meyering Date: Wed, 27 May 1998 12:35:56 +0000 (+0000) Subject: Don't use the ctime for testing, it is impossible to set it reliably. X-Git-Tag: FILEUTILS-3_16p~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75637a7ef48630513cc1d8122e5ba07d886d5399;p=thirdparty%2Fcoreutils.git Don't use the ctime for testing, it is impossible to set it reliably. --- diff --git a/tests/ls/cr-1 b/tests/ls/cr-1 index 202b3d8d2a..fc91655cd4 100755 --- a/tests/ls/cr-1 +++ b/tests/ls/cr-1 @@ -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 ..