From: David Levine Date: Wed, 29 Jan 2014 03:36:05 +0000 (-0600) Subject: Unset LANG, LC_ALL, and LC_TYPE in common.sh so that the tests X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/72a85396a7c91ae2fef17adab0ba3485f77d5433?hp=e0c39ed52fa9c99b4591b5170354d8398ffd787b 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. --- 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