X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..7a2ed982bc5ffc80747768c807828ba252bc8265:/test/pick/test-pick diff --git a/test/pick/test-pick b/test/pick/test-pick index 85da3440..858d8e75 100755 --- a/test/pick/test-pick +++ b/test/pick/test-pick @@ -76,9 +76,8 @@ run_test 'pick -not -lbrace -subject NoMatch -and -subject message.3 -rbrace' \ 10 11' -# 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 \ +# Test -debug. +run_prog pick -debug -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"