summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-22 13:09:28 +0000
committerJim Meyering <jim@meyering.net>2000-10-22 13:09:28 +0000
commit28c6609c86191b9c913cd124437cad1dac4fd5e7 (patch)
tree177035185a56b06161fde8c456055f1e9c828d09 /tests/ls
parent43c38af6a1bf3e3ae527b1cb70988e87bb995063 (diff)
downloadcoreutils-28c6609c86191b9c913cd124437cad1dac4fd5e7.tar.xz
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/symlink-slash3
-rwxr-xr-xtests/ls/time-13
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/ls/symlink-slash b/tests/ls/symlink-slash
index ae12b091b..e365f85c7 100755
--- a/tests/ls/symlink-slash
+++ b/tests/ls/symlink-slash
@@ -20,8 +20,7 @@ if test $framework_failure = 1; then
exit 1
fi
-LANGUAGE=C; export LANGUAGE
-LANG=C; export LANG
+. $srcdir/../lang-default
fail=0
set `ls -l symlink/`
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index c81fcaecf..ba251d714 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -46,8 +46,7 @@ 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.
-LC_ALL=C
-export LC_ALL
+. $srcdir/../lang-default
# Before we go any further, verify that touch's -m option works.
set -- `ls --full -l a`