summaryrefslogtreecommitdiff
path: root/test/stdout/0611
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-03-06 14:25:13 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-03-06 16:45:03 +0000
commit42ed39da5af85552a35626348bb77e5576e18aa4 (patch)
tree4c3a5b225dc5ac4b4fc7dc3af971da9685499549 /test/stdout/0611
parent80dceaeced16838c894429d5c15d8699ddec5542 (diff)
Utilities: fix exiqgrep perl syntax, add testcases. Bug 2821
Broken-by: df618101a5
Diffstat (limited to 'test/stdout/0611')
-rw-r--r--test/stdout/061162
1 files changed, 62 insertions, 0 deletions
diff --git a/test/stdout/0611 b/test/stdout/0611
new file mode 100644
index 000000000..11867c03a
--- /dev/null
+++ b/test/stdout/0611
@@ -0,0 +1,62 @@
+Exim message queue display utility.
+
+ -h This help message.
+ -C Specify which exim.conf to use.
+ -E Specify exim binary to use.
+
+Selection criteria:
+ -f <regexp> Match sender address sender (field is "< >" wrapped)
+ -r <regexp> Match recipient address
+ -s <regexp> Match against the size field from long output
+ -y <seconds> Message younger than
+ -o <seconds> Message older than
+ -z Frozen messages only (exclude non-frozen)
+ -x Non-frozen messages only (exclude frozen)
+ -G <queuename> Match in given queue only
+
+[ NB: for regexps, provided string sits in /<string>/ ]
+
+Display options:
+ -c Display match count
+ -l Long Format [Default]
+ -i Message IDs only
+ -b Brief Format
+ -R Reverse order
+ -a All recipients (including delivered)
+exiqgrep exit code = 0
+ 0m sss 10HmaX-0005vi-00 <CALLER@test.ex>
+ a@test.ex
+ b@test.ex
+ c@test.ex
+
+exiqgrep exit code = 0
+Exim message queue display utility.
+
+ -h This help message.
+ -C Specify which exim.conf to use.
+ -E Specify exim binary to use.
+
+Selection criteria:
+ -f <regexp> Match sender address sender (field is "< >" wrapped)
+ -r <regexp> Match recipient address
+ -s <regexp> Match against the size field from long output
+ -y <seconds> Message younger than
+ -o <seconds> Message older than
+ -z Frozen messages only (exclude non-frozen)
+ -x Non-frozen messages only (exclude frozen)
+ -G <queuename> Match in given queue only
+
+[ NB: for regexps, provided string sits in /<string>/ ]
+
+Display options:
+ -c Display match count
+ -l Long Format [Default]
+ -i Message IDs only
+ -b Brief Format
+ -R Reverse order
+ -a All recipients (including delivered)
+exiqgrep exit code = 1
+1 matches out of 1 messages
+exiqgrep exit code = 0
+1 matches out of 1 messages
+exiqgrep exit code = 0