]> diplodocus.org Git - nmh/blobdiff - test/pick/test-pick
Add support for the -sendmail flag to send/post, to support changing the
[nmh] / test / pick / test-pick
index ea00b8150201f566fd97aec25b9955d7f38c562f..858d8e75e2a422051b060741984e732724f58067 100755 (executable)
@@ -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" <<EOF
 NOT
 | AND
@@ -262,6 +261,7 @@ echo 13 >"$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