summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/time-110
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index ba251d714..104796742 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -6,6 +6,11 @@ if test "$VERBOSE" = yes; then
ls --version
fi
+# Date output in ls -l is locale-sensitive, so this test fails if the
+# current locale produces a date that doesn't match the embedded value
+# here (Jan 15 23:00:00 1998), which is in the C (POSIX) locale.
+. $srcdir/../lang-default
+
tmp=t-ls.$$
framework_failure=0
@@ -43,11 +48,6 @@ sleep 2
# Create a link, updating c's ctime.
ln c d || framework_failure=1
-# Date output in ls -l is locale-sensitive, so this test fails if the
-# current locale produces a date that doesn't match the embedded value
-# here (Jan 15 23:00:00 1998), which is in the C (POSIX) locale.
-. $srcdir/../lang-default
-
# Before we go any further, verify that touch's -m option works.
set -- `ls --full -l a`
case "$*" in