From 05b70ebcdceb3d0b2eadd39b84782d22b63ed9a2 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 22 Nov 2021 18:02:34 +0000 Subject: Fix shutdown=no in ${readsocket}. Bug 2784 Broken-by: 1950cf85b4 --- test/scripts/0000-Basic/0373 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test/scripts') diff --git a/test/scripts/0000-Basic/0373 b/test/scripts/0000-Basic/0373 index 37c98e0ab..cb3e00608 100644 --- a/test/scripts/0000-Basic/0373 +++ b/test/scripts/0000-Basic/0373 @@ -60,7 +60,7 @@ quit # # Tests of IPv4 sockets # -server PORT_S 17 +server PORT_S 18 QUERY-1 >LF>ANSWER-1 >*eof @@ -87,7 +87,10 @@ QUERY-9 QUERY-10 >LF>ANSWER-10 >*eof ->LF>ANSWER-11 +>LF>ANSWER-11a +>*eof +QUERY-11 +>LF>ANSWER-11b >*eof QUERY-12 >>ANSWER-12\x0d\x0aANSWER-12\x0d\x0a @@ -121,7 +124,8 @@ ipv4 cases 8 read timed out >>${readsocket{inet:127.0.0.1:PORT_S}{QUERY-8\n}{1s}}<< 9 sock error >>${readsocket{inet:127.0.0.1:PORT_S}{QUERY-9\n}{1s}{}{sock error}}<< 10 ANSWER-10\\n >>${readsocket{inet:badloop:PORT_S}{QUERY-10\n}}<< -11 ANSWER-11 >>${readsocket{inet:thisloop:PORT_S}{QUERY-11\n}{2s:shutdown=no}}<< +11 ANSWER-11a >>${readsocket{inet:thisloop:PORT_S}{QUERY-11\n}{2s:shutdown=no}}<< +11 ANSWER-11b >>${readsocket{inet:thisloop:PORT_S}{QUERY-11\n}{2s:shutdown=no}}<< eol-replacement arg 12 ANSWER-12x2 (no arg) >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-12\n}{2s}}}<< -- cgit v1.2.3