]> diplodocus.org Git - nmh/blobdiff - test/pick/test-pick
Allow a RRULE in an iCalendar request to not have an INTERVAL on its
[nmh] / test / pick / test-pick
index 85da34408aa1913b9422e9aec576dc252eecddf3..858d8e75e2a422051b060741984e732724f58067 100755 (executable)
@@ -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" <<EOF
 NOT
@@ -261,7 +260,10 @@ EOF
 echo 13 >"$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"