]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Make test scripts more robust against locale-related environment variables
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 May 2006 03:41:23 +0000 (23:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 May 2006 03:41:23 +0000 (23:41 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/ChangeLog
tests/test_config

index 3b85b00f1eca15442f684c49cf85e339dcafe1d9..c5fff15f408126c04a9dcfcba355a1c6462c164f 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-28  Theodore Tso  <tytso@mit.edu>
+
+       * test_config: Unset all locale-related environment variables
+               since they might affect the test scripts
+
 2006-05-24  Theodore Tso  <tytso@mit.edu>
 
        * d_lodadump, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,
index 2fa3de12c64687819a0f661baa8db64fa0b00b34..2169c0c163454540a70ff2bd4dac2d6ea6a54814 100644 (file)
@@ -2,6 +2,7 @@
 # Test configuration
 #
 
+unset LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME PAGER
 FSCK="$USE_VALGRIND ../e2fsck/e2fsck"
 MKE2FS="$USE_VALGRIND ../misc/mke2fs"
 DUMPE2FS="$USE_VALGRIND ../misc/dumpe2fs"
@@ -24,7 +25,6 @@ TZ=GMT
 export TZ
 LANG=C
 export LANG
-unset PAGER
 E2FSCK_CONFIG=/dev/null
 export E2FSCK_CONFIG
 MKE2FS_CONFIG=$SRCDIR/../misc/mke2fs.conf