From f839e6a78ff81930c00f8b4509d95e4a3d242e58 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 15 Jun 2014 22:43:16 -0500 Subject: [PATCH] Fix to commit 0d3875d020fb17d34918f5e81ee7f87fbc5d1565: it seems that only Linux uses the locale name of en_US.utf8, so added check for the more common en_US.utf-8 to the tests that use it. --- test/dist/test-dist | 2 +- test/mhbuild/test-attach | 2 +- test/mhbuild/test-cte | 2 +- test/mhbuild/test-ext-params | 2 +- test/mhbuild/test-header-encode | 2 +- test/mhbuild/test-utf8-body | 2 +- test/mhfixmsg/test-mhfixmsg | 2 +- test/mhlist/test-ext-params | 2 +- test/mhshow/test-charset | 2 +- test/mhshow/test-textcharset | 2 +- test/pick/test-pick | 2 +- test/scan/test-scan-multibyte | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/dist/test-dist b/test/dist/test-dist index 6c3c80b5..155f7733 100755 --- a/test/dist/test-dist +++ b/test/dist/test-dist @@ -388,7 +388,7 @@ run_test 'scan +outbox -width 6 2' ' 2 ' # Check that dist encodes headers using RFC-2047 properly # -require_locale en_US.utf8 +require_locale en_US.utf-8 en_US.utf8 LC_ALL=en_US.UTF-8; export LC_ALL cat >"$expected" <"$expected" set +e -require_locale en_US.utf8 +require_locale en_US.utf-8 en_US.utf8 # Don't use run_prog here because it loses the environment setting. LC_ALL=en_US.UTF-8 pick -subject foobar 13 >"$actual" 2>&1 set -e diff --git a/test/scan/test-scan-multibyte b/test/scan/test-scan-multibyte index 9dae456e..f6466141 100755 --- a/test/scan/test-scan-multibyte +++ b/test/scan/test-scan-multibyte @@ -26,7 +26,7 @@ if test "${MULTIBYTE_ENABLED}" -ne 1; then test_skip "configure did not detect multibyte support" fi -require_locale en_US.utf8 +require_locale en_US.utf-8 en_US.utf8 LC_ALL=en_US.UTF-8; export LC_ALL # -- 2.56.0