summaryrefslogtreecommitdiff
path: root/tests/ls/time-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-12-04 17:31:23 +0000
committerJim Meyering <jim@meyering.net>1999-12-04 17:31:23 +0000
commitb1b10e1e4014d8e6afc59e8e88d22f964584f387 (patch)
tree4cbfd4932d0e3ba1c966d5d7405e5ce41c2472a3 /tests/ls/time-1
parent5810f4bee5e2126e9bbdf5d528e3245be7fa9d09 (diff)
downloadcoreutils-b1b10e1e4014d8e6afc59e8e88d22f964584f387.tar.xz
List --full-time dates upon failure.
Diffstat (limited to 'tests/ls/time-1')
-rwxr-xr-xtests/ls/time-12
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index eb7400a1f..429615d28 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -52,9 +52,11 @@ fi
set `ls -u a b c`
test "$*" = 'c b a' && : || fail=1
+test $fail = 1 && ls -l --full-time --time=access a b c
set `ls -t a b c`
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`