From 6b1962e92b9a3bfc7570aecb844fe67141fb87d7 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Sat, 7 Jun 2014 22:40:12 -0400 Subject: [PATCH] Whoops, this should be LC_CTYPE. Fixing that exposes the lack of an appropriate environment variable in test-utf8-body --- test/common.sh.in | 2 +- test/mhbuild/test-utf8-body | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- 2.56.0