summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-16 20:11:42 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-16 20:11:42 +0000
commitaacbc75155836e53f69035b6084c9ed2ad18de63 (patch)
treefde5ac44a8ef304a1c740fcac9fe7ee17efaa58e /tests
parentb96f5ea4925854db9eae61f98a7ec44568ecae7d (diff)
downloadcoreutils-aacbc75155836e53f69035b6084c9ed2ad18de63.tar.xz
* tests/lang-default (LC_ALL): Set to "C", so we get
English-language diagnostics. Unset the other variables.
Diffstat (limited to 'tests')
-rw-r--r--tests/lang-default10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/lang-default b/tests/lang-default
index a6a9cdccd..882672fc6 100644
--- a/tests/lang-default
+++ b/tests/lang-default
@@ -2,7 +2,9 @@
# Set locale-related environment variables so we get consistent
# message translations, time formats, sort orderings, etc.
-for i in \
- LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_NUMERIC LC_TIME; do
- eval "$i=; export $i"
-done
+LC_ALL=C
+export LC_ALL
+unset LANGUAGE NLSPATH
+
+# These settings shouldn't matter, but unset them anyway just in case.
+unset LANG LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME