X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..f839e6a78ff81930c00f8b4509d95e4a3d242e58:/test/pick/test-pick diff --git a/test/pick/test-pick b/test/pick/test-pick index 85da3440..4eff47cb 100755 --- a/test/pick/test-pick +++ b/test/pick/test-pick @@ -78,8 +78,8 @@ run_test 'pick -not -lbrace -subject NoMatch -and -subject message.3 -rbrace' \ # Test MHPDEBUG. # Don't use run_prog here because it loses the environment setting. -MHPDEBUG=1 pick -not -lbrace -subject NoMatch -and -subject message.3 \ - -rbrace >/dev/null 2>"$actual" +MHPDEBUG=1 pick -not -lbrace -subject NoMatch -and -subject message.3 -rbrace \ + >/dev/null 2>"$actual" cat >"$expected" <"$expected" set +e -LC_CTYPE=en_US.UTF-8 run_prog pick -subject foobar 13 >"$actual" 2>&1 + +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 check "$expected" "$actual"