summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-19 22:37:45 +0000
committerJim Meyering <jim@meyering.net>2000-05-19 22:37:45 +0000
commita5c0da5365e118dc9de18d3d53dfa95e1dd79586 (patch)
tree68c547e1551d58369d4b39ddaee42f632e9724bc
parentbc009f5b5fe48467c565c647810f5385fa697f28 (diff)
downloadcoreutils-a5c0da5365e118dc9de18d3d53dfa95e1dd79586.tar.xz
(LC_ALL): Set it unconditionally.
-rwxr-xr-xtests/ls/time-17
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index 294f59f1b..a7b870d7f 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -45,10 +45,9 @@ 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. Some
-# systems don't handle LC_ALL at all, so we only force it to C if it is
-# already set.
-test ${LC_ALL+set} = set && LC_ALL=C
+# here (Jan 15 23:00:00 1998), which is in the C (POSIX) locale.
+LC_ALL=C
+export LC_ALL
# Before we go any further, verify that touch's -m option works.
set -- `ls --full -l a`