From: Theodore Ts'o Date: Sat, 30 Jun 2007 22:41:31 +0000 (-0400) Subject: Set LC_ALL instead of LANG in the test suite config X-Git-Tag: v1.40.1~18 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6c9cc5837513808d4f8e7485dc8b50afd9359c86;p=tools%2Fe2fsprogs.git 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" --- diff --git a/tests/test_config b/tests/test_config index 3c0fae0..f5ae0fe 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