summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-10-04 23:23:50 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2012-10-06 20:00:37 +0100
commit3c0a92dcf8312d3071769e5a36946c651330e0e4 (patch)
tree08fb2b8152a77c0ad3c7c17e0280bbd3e8bb1e5b /test/scripts
parent4eae92ae55cd6904459eea8f4a2afe48cc0b5b66 (diff)
Logging-only patch for 8BITMIME; bug 817.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/056653
1 files changed, 53 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0566 b/test/scripts/0000-Basic/0566
index c4dc0d8aa..b2c5f75b4 100644
--- a/test/scripts/0000-Basic/0566
+++ b/test/scripts/0000-Basic/0566
@@ -70,4 +70,57 @@ mail from:<x@y> BODY=8BITMIME SIZE=40004
rcpt to:<userx@test.ex>
quit
****
+# no BODY, data
+exim -bs
+ehlo Testing
+mail from:<x@y>
+rcpt to:<userx@test.ex>
+data
+Subject: test
+
+foo
+.
+quit
+****
+sleep 1
+# 7bit BODY, data
+exim -bs
+ehlo Testing
+mail from:<x@y> BODY=7BIT
+rcpt to:<userx@test.ex>
+data
+Subject: test
+
+foo
+.
+quit
+****
+sleep 1
+# 8bit BODY, data
+exim -bs
+ehlo Testing
+mail from:<x@y> BODY=8BITMIME
+rcpt to:<userx@test.ex>
+data
+Subject: test
+
+foo
+.
+quit
+****
+sleep 1
+# bad BODY, data
+# should fail
+1
+exim -bs
+ehlo Testing
+mail from:<x@y> BODY=wrong
+rcpt to:<userx@test.ex>
+data
+Subject: test
+
+foo
+.
+quit
+****
no_msglog_check