Whamcloud - gitweb
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 3b85b00..c5fff15 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 2fa3de1..2169c0c 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