X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1950cf85b47f7c8407b3318a4f8fc57c0af6d6ba..37b849dca4dfd855212a763662825e:/test/scripts/0000-Basic/0373 diff --git a/test/scripts/0000-Basic/0373 b/test/scripts/0000-Basic/0373 index 5d8bbee88..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 11 +server PORT_S 18 QUERY-1 >LF>ANSWER-1 >*eof @@ -87,7 +87,28 @@ 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 +>*eof +QUERY-13 +>>ANSWER-13\x0d\x0aANSWER-13\x0d\x0a +>*eof +QUERY-14 +>>ANSWER-14\x0d\x0aANSWER-14\x0d\x0a +>*eof +QUERY-15 +>>ANSWER-15\x0d\x0aANSWER-15\x0d\x0a +>*eof +QUERY-16 +>>ANSWER-16\x0d\x0aANSWER-16\x0d\x0a +>*eof +QUERY-17 +>>ANSWER-17\x0d\x0aANSWER-17\x0d\x0a >*eof **** millisleep 500 @@ -103,7 +124,16 @@ 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}}}<< +13 ANSWER-13x2 (empty arg) >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-13\n}{2s}{}}}<< +14 ANSWER-14x2 X >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-14\n}{2s}{X}}}<< +15 ANSWER-15x2 XYZZY >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-15\n}{2s}{XYZZY}}}<< +16 ANSWER-16x2 (space) >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-16\n}{2s}{ }}}<< +17 ANSWER-17x2 (newline) >>${escape:${readsocket{inet:127.0.0.1:PORT_S}{QUERY-17\n}{2s}{\n}}}<< **** # exim -be