summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-11-22 18:02:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-11-22 18:18:31 +0000
commit05b70ebcdceb3d0b2eadd39b84782d22b63ed9a2 (patch)
treeaa5556479a9d093211336f6dace9ceec85dc32ef /test/scripts/0000-Basic
parent0a2ba2bab7cf3f8c98fa1e5232d3fe0be69b9ab6 (diff)
downloadexim4-05b70ebcdceb3d0b2eadd39b84782d22b63ed9a2.tar.gz
Fix shutdown=no in ${readsocket}. Bug 2784
Broken-by: 1950cf85b4
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/037310
1 files changed, 7 insertions, 3 deletions
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}}}<<