diff options
-rwxr-xr-x | tests/ls/time-1 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ls/time-1 b/tests/ls/time-1 index ff2a4a89e..d52375879 100755 --- a/tests/ls/time-1 +++ b/tests/ls/time-1 @@ -1,8 +1,6 @@ #!/bin/sh # Test some of ls's sorting options. -test=time-1 - if test "$VERBOSE" = yes; then set -x ls --version @@ -78,7 +76,7 @@ if test $framework_failure = 1; then exit 1 fi -set `ls -u a b c` +set `ls -ut a b c` test "$*" = 'c b a' && : || fail=1 test $fail = 1 && ls -l --full-time --time=access a b c @@ -87,7 +85,7 @@ test "$*" = 'a b c' && : || fail=1 test $fail = 1 && ls -l --full-time a b c # Now, C should have ctime more recent than A. -set `ls -c a c` +set `ls -ct a c` if test "$*" = 'c a'; then : ok else |