summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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