From 72a85396a7c91ae2fef17adab0ba3485f77d5433 Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 28 Jan 2014 21:36:05 -0600 Subject: [PATCH] Unset LANG, LC_ALL, and LC_TYPE in common.sh so that the tests don't accidentally rely on any of the user's settings. --- test/common.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/common.sh.in b/test/common.sh.in index be8b25df..85ec2089 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -24,6 +24,9 @@ export MH_INST_DIR unset MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER +#### Set LC_ALL in individual tests as needed. Unset these so +#### that we don't depend on user's settings in other tests. +unset LANG LC_ALL LC_TYPE #### Use a test dir for tmp files when MHTMPDIR applies. MHTMPDIR=$MH_TEST_DIR/Mail -- 2.56.0