From: Ken Hornstein Date: Sun, 8 Jun 2014 02:40:12 +0000 (-0400) Subject: Whoops, this should be LC_CTYPE. Fixing that exposes the lack of an X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6b1962e92b9a3bfc7570aecb844fe67141fb87d7?ds=sidebyside;hp=-c Whoops, this should be LC_CTYPE. Fixing that exposes the lack of an appropriate environment variable in test-utf8-body --- 6b1962e92b9a3bfc7570aecb844fe67141fb87d7 diff --git a/test/common.sh.in b/test/common.sh.in index 328d1ee8..a0088087 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -27,7 +27,7 @@ unset MAILDROP 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 +unset LANG LC_ALL LC_CTYPE #### Use a test dir for tmp files when MHTMPDIR applies. MHTMPDIR=$MH_TEST_DIR/Mail diff --git a/test/mhbuild/test-utf8-body b/test/mhbuild/test-utf8-body index 9798ac26..650133c9 100755 --- a/test/mhbuild/test-utf8-body +++ b/test/mhbuild/test-utf8-body @@ -17,6 +17,7 @@ fi setup_test testname="${MH_TEST_DIR}/$$" +LC_ALL=en_US.UTF-8; export LC_ALL #### Rely on sendmail/pipe below to override default mts. mts_fakesendmail="${MHMTSCONF}-fakesendmail"