pick matching rework
[mmh] / test / tests / pick / test-complex
diff --git a/test/tests/pick/test-complex b/test/tests/pick/test-complex
new file mode 100644 (file)
index 0000000..6bdec11
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+######################################################
+#
+# Test that all messages are picked and no ``0'' is giving out.
+#
+######################################################
+
+. "$MH_TEST_COMMON"
+
+# All messages should be go to stdout
+runandcheck "pick -lbrace -from test1 -or -subject 'Testing message 5' -rbrace -and -not -from test10" <<!
+1
+5
+!