From 5ddc9771fa4d7861d3e5bfd6ea30c054883eaf40 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 6 Nov 2016 23:10:34 +0000 Subject: Ensure socket is nonblocking before draining. Bug 1914 --- test/scripts/0000-Basic/0502 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/scripts') 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: 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 -- cgit v1.2.3