summaryrefslogtreecommitdiff
path: root/test/stdout/0559
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-04-13 15:13:47 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-04-13 15:13:47 +0000
commit58eb016e585187a87ade7602b2aecb2208605320 (patch)
treec0021c9485b5b1b0c0b72591ffb5b827efcb1e3d /test/stdout/0559
parent0a4e3112aeb6531661cb8d49379db4f84ff5841b (diff)
Check for lost connection or unexpected input at end of message.
Diffstat (limited to 'test/stdout/0559')
-rw-r--r--test/stdout/055947
1 files changed, 47 insertions, 0 deletions
diff --git a/test/stdout/0559 b/test/stdout/0559
new file mode 100644
index 000000000..eee1b2e43
--- /dev/null
+++ b/test/stdout/0559
@@ -0,0 +1,47 @@
+Connecting to 127.0.0.1 port 1225 ... connected
+??? 220
+<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> ehlo abcd
+??? 250-
+<<< 250-myhost.test.ex Hello abcd [127.0.0.1]
+??? 250-
+<<< 250-SIZE 52428800
+??? 250-
+<<< 250-PIPELINING
+??? 250
+<<< 250 HELP
+>>> mail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
+??? 250
+<<< 250 OK
+??? 250
+<<< 250 Accepted
+??? 354
+<<< 354 Enter message, ending with "." on a line by itself
+>>> This is a test message.
+>>> .
++++ 1
+End of script
+Connecting to 127.0.0.1 port 1225 ... connected
+??? 220
+<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+>>> ehlo abcd
+??? 250-
+<<< 250-myhost.test.ex Hello abcd [127.0.0.1]
+??? 250-
+<<< 250-SIZE 52428800
+??? 250-
+<<< 250-PIPELINING
+??? 250
+<<< 250 HELP
+>>> mail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
+??? 250
+<<< 250 OK
+??? 250
+<<< 250 Accepted
+??? 354
+<<< 354 Enter message, ending with "." on a line by itself
+>>> This is a test message.
+>>> .\r\nrset
+??? 550
+<<< 550 Synchronization error (data after final dot)
+End of script