summaryrefslogtreecommitdiff
path: root/tests/ls/time-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-10 11:56:26 +0000
committerJim Meyering <jim@meyering.net>1998-01-10 11:56:26 +0000
commit12782f54b00a6dd5ce9818409bfaeb6db0a6f610 (patch)
tree13276ea17415863a800e13bccf83f763c8004e21 /tests/ls/time-1
parentfff6de7b0460071cf035226617e59524b267774c (diff)
downloadcoreutils-12782f54b00a6dd5ce9818409bfaeb6db0a6f610.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/ls/time-1')
-rwxr-xr-xtests/ls/time-14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index 90960d9f9..a5594ae26 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -37,12 +37,16 @@ if test $test_failure = 1; then
fi
fail=0
+
+# A was accessed more recently.
set `$LS -u a b`
test "$*" = 'a b' && : || fail=1
+# B was modified more recently.
set `$LS -t a b`
test "$*" = 'b a' && : || fail=1
+# D has newer ctime.
set `$LS -c a d`
test "$*" = 'd a' && : || fail=1