Utilities: fix exiqgrep perl syntax, add testcases. Bug 2821
[exim.git] / test / scripts / 0000-Basic / 0611
index c35284147031adc0a19c1bdd2f01b1e6d758cc0c..40d08fcf18458995c0e97bbd9aaed55cde4dc303 100644 (file)
@@ -6,6 +6,12 @@ need_ipv4
 exim -odq a b c
 .
 ****
+# Check that exiqgrep does not fall over, refuses no selectors, and can count.
+exiqgrep -h
+exiqgrep -r '[bc]'
+exiqgrep
+exiqgrep -c -r a
+exiqgrep -c
 #
 # a slow server as a test target
 exim -DSERVER=server -bd -oX PORT_D