]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
source lang-default before the first `cd'
authorJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 12:36:17 +0000 (12:36 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 12:36:17 +0000 (12:36 +0000)
tests/ls/time-1

index ba251d71478472413e83f79600b824439d1d75d1..104796742a749053a079abad594d79734e8dbdf6 100755 (executable)
@@ -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