summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-04-30 00:37:53 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-05-27 21:31:02 +0200
commite23341ecd1efcf6339ae9458c4612357775dc286 (patch)
tree2acfc3f49e6369d0428314ad1b56623be00e436b /test/scripts/0000-Basic
parentb2e302203ed3d40b70185bbf283c053f58934174 (diff)
testsuite: reproduce BDAT with missing eol (Bug 1974)
(cherry picked from commit e9cecc465a570c1a4f34b199eae6bdd0a52ee2b0)
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/090036
1 files changed, 31 insertions, 5 deletions
diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900
index 4503ae0c0..1c0e43552 100644
--- a/test/scripts/0000-Basic/0900
+++ b/test/scripts/0000-Basic/0900
@@ -38,7 +38,7 @@ ehlo tester
??? 250-
??? 250-
??? 250-
-??? 250
+??? 250
mail from:someone@some.domain
??? 250
rcpt to:CALLER@test.ex
@@ -82,7 +82,7 @@ ehlo tester
??? 250-
??? 250-
??? 250-
-??? 250
+??? 250
mail from:someone@some.domain
??? 250
rcpt to:CALLER@test.ex
@@ -105,7 +105,7 @@ ehlo tester
??? 250-
??? 250-
??? 250-
-??? 250
+??? 250
mail from:someone@some.domain
??? 250
rcpt to:CALLER@test.ex
@@ -131,7 +131,7 @@ ehlo tester
??? 250-
??? 250-
??? 250-
-??? 250
+??? 250
mail from:someone@some.domain
??? 250
rcpt to:CALLER@test.ex
@@ -152,7 +152,7 @@ EHLO tester
??? 250-
??? 250-
??? 250-
-??? 250
+??? 250
mail from:someone@some.domain
??? 250
rcpt to:CALLER@test.ex
@@ -240,6 +240,32 @@ quit
??? 221
****
#
+# plain, small message (body w/o lineend)
+client 127.0.0.1 PORT_D
+??? 220
+ehlo tester
+??? 250-
+??? 250-SIZE
+??? 250-8BITMIME
+??? 250-PIPELINING
+??? 250-CHUNKING
+??? 250 HELP
+mail from:someone@some.domain
+??? 250
+rcpt to:CALLER@test.ex
+??? 250
+bdat 98 last
+To: Susan@random.com
+From: Sam@random.com
+Subject: This is a bodyfull test message
+
+>>> 1234567890
+??? 250-
+??? 250
+quit
+??? 221
+****
+#
#
killdaemon
no_msglog_check