]> diplodocus.org Git - nmh/blobdiff - test/pick/test-pick
Treat unknown top-level content types as "application" types, instead
[nmh] / test / pick / test-pick
index 85da34408aa1913b9422e9aec576dc252eecddf3..ea00b8150201f566fd97aec25b9955d7f38c562f 100755 (executable)
@@ -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" <<EOF
 NOT
 | AND
@@ -261,7 +261,9 @@ EOF
 echo 13 >"$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"