X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71458b3b2492943349f7693a46792756d5013c69..64f5cda4610fa3de39a9d69aeda2d8a26f147f2e:/test/pick/test-pick diff --git a/test/pick/test-pick b/test/pick/test-pick index ea00b815..858d8e75 100755 --- a/test/pick/test-pick +++ b/test/pick/test-pick @@ -76,10 +76,9 @@ 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 -rbrace \ - >/dev/null 2>"$actual" +# Test -debug. +run_prog pick -debug -not -lbrace -subject NoMatch -and -subject message.3 \ + -rbrace >/dev/null 2>"$actual" cat >"$expected" <"$expected" set +e +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