summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-28 12:36:17 +0000
committerJim Meyering <jim@meyering.net>2000-10-28 12:36:17 +0000
commitd1033dc2b94d1570c3378058a8c0b0cbde4328f6 (patch)
treefdeeabf485b6cb689e705d95b7d7034131eb3a73
parenta36e91c826281522ad1db60c92bc720e9c001a18 (diff)
downloadcoreutils-d1033dc2b94d1570c3378058a8c0b0cbde4328f6.tar.xz
source lang-default before the first `cd'
-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