summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-11-06 23:10:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-11-08 15:35:34 +0000
commit5ddc9771fa4d7861d3e5bfd6ea30c054883eaf40 (patch)
treefc2bd51ab9ea6b6685ea898400d2ebdc3a0faaa7 /test/scripts
parentdd7b74e90a96eaf109796d8f9499578571a1572c (diff)
Ensure socket is nonblocking before draining. Bug 1914
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/050218
1 files changed, 18 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0502 b/test/scripts/0000-Basic/0502
index d4b8f0fdb..c22205ca7 100644
--- a/test/scripts/0000-Basic/0502
+++ b/test/scripts/0000-Basic/0502
@@ -23,3 +23,21 @@ exim -bs -DLAST=''
mail from:<a@b>
quit
****
+#
+# Check the server closes conn after a quit-response
+exim -DSERVER=server -DLAST=accept -bd -oX PORT_D
+****
+client 127.0.0.1 PORT_D
+??? 220
+EHLO test.ex
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250 HELP
+QUIT
+??? 221
+???*eof
+****
+#
+killdaemon