summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-06-30 18:41:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2007-06-30 19:52:11 -0400
commit6c9cc5837513808d4f8e7485dc8b50afd9359c86 (patch)
tree194f6f5b08472be48de553d6466b8c481dbaf598 /tests/test_config
parentbcafb8d76e3457a846e0af0933a8ebe89a796864 (diff)
downloade2fsprogs-6c9cc5837513808d4f8e7485dc8b50afd9359c86.tar.gz
Set LC_ALL instead of LANG in the test suite config
LC_ALL is the "high priority" environment variable that overrides all others, where as LANG is the lowest priorty environment variable. If LC_ALL is set, it doesn't matter whether LANG, LANGUAGE, LC_COLLATE, LC_MESSAGES, and the all the rest are set. This will assure that the locale when running the test suites is the "C" locale. Obviates Gentoo patch: e2fsprogs-1.38-tests-locale.patch Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config b/tests/test_config
index 3c0fae03..f5ae0fe7 100644
--- a/tests/test_config
+++ b/tests/test_config
@@ -22,8 +22,8 @@ export LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
TZ=GMT
export TZ
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL
E2FSCK_CONFIG=/dev/null
export E2FSCK_CONFIG
MKE2FS_CONFIG=$SRCDIR/../misc/mke2fs.conf