From: David Levine Date: Mon, 16 Jun 2014 03:43:16 +0000 (-0500) Subject: Fix to commit 0d3875d020fb17d34918f5e81ee7f87fbc5d1565: it seems X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/f839e6a78ff81930c00f8b4509d95e4a3d242e58?ds=inline;hp=-c 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. --- f839e6a78ff81930c00f8b4509d95e4a3d242e58 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 #