Make test scripts more robust against locale-related environment variables

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2006-05-28 23:41:23 -04:00
parent 364f94107a
commit 0cbd172def
2 changed files with 6 additions and 1 deletions

View 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,

View 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