X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..fc18ad68f85f29c016667b7bf54d7e4b2f3b42c5:/test/pick/test-pick diff --git a/test/pick/test-pick b/test/pick/test-pick index 85da3440..ea00b815 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 + +# 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"