summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeiko Schlichting <heiko@fu-berlin.de>2013-04-02 21:06:03 +0200
committerTodd Lyons <tlyons@exim.org>2014-04-29 17:06:33 -0700
commitd2af03f4c11273d6f52c9043119e24e732080885 (patch)
tree29e7684c859f5c5db70db4c453ca6344993df1f0 /test
parent2b4a568dfa3d79a9a968984cf5b23829c084a951 (diff)
Bug 1454: Option -oMm for message reference
Includes docs and test suite
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00409
-rw-r--r--test/stderr/00402
2 files changed, 11 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0040 b/test/scripts/0000-Basic/0040
index 3353ec233..12d675043 100644
--- a/test/scripts/0000-Basic/0040
+++ b/test/scripts/0000-Basic/0040
@@ -1,3 +1,12 @@
# Checking -oMa etc
exim -odi -f jc@rome -F 'Julius Caesar' -oMa 1.1.1.1 -oMi 2.2.2.2 -oMr latin -oMs forum.rome -oMt jc44bc userx@test.ex
This is a test message.
+****
+1
+exim -odi -f jc@rome -F 'Julius Caesar' -oMm 123456-67890-11 -oMt jc44bc userx@test.x
+This is a test message.
+****
+1
+exim -odi -f jc@rome -F 'Julius Caesar' -oMm 10HmaX-0005vi-00 -oMt jc44bc userx@test.x
+This is a test message.
+****
diff --git a/test/stderr/0040 b/test/stderr/0040
new file mode 100644
index 000000000..f72bc868b
--- /dev/null
+++ b/test/stderr/0040
@@ -0,0 +1,2 @@
+-oMm must be a valid message ID
+-oMm must be called by a trusted user/config