From 8de9db65575ccd8013753bb3d23426f0da2a669a Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 26 Feb 2017 18:53:06 +0000 Subject: Add option to control use of shutdown by ${readsocket }. Bug 400 --- test/scripts/0000-Basic/0373 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0373 b/test/scripts/0000-Basic/0373 index d5e2cb182..02cdc31fc 100644 --- a/test/scripts/0000-Basic/0373 +++ b/test/scripts/0000-Basic/0373 @@ -58,7 +58,7 @@ quit # # Tests of IPv4 sockets # -server PORT_S 10 +server PORT_S 11 QUERY-1 >LF>ANSWER-1 >*eof @@ -85,6 +85,8 @@ QUERY-9 QUERY-10 >LF>ANSWER-10 >*eof +>LF>ANSWER-11 +>*eof **** millisleep 500 exim -be @@ -98,4 +100,5 @@ exim -be 8 >>${readsocket{inet:127.0.0.1:PORT_S}{QUERY-8\n}{1s}}<< 9 >>${readsocket{inet:127.0.0.1:PORT_S}{QUERY-9\n}{1s}{}{sock error}}<< 10 >>${readsocket{inet:badloop:PORT_S}{QUERY-10\n}}<< +11 >>${readsocket{inet:thisloop:PORT_S}{QUERY-11\n}{2s:shutdown=no}}<< **** -- cgit v1.2.3