diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-26 18:53:06 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-26 19:01:07 +0000 |
commit | 8de9db65575ccd8013753bb3d23426f0da2a669a (patch) | |
tree | 85f00f853a28504286c6cad88bdf630e772651d7 /test | |
parent | 4bb432cb42d990bc40665d38aedbf02b00128df7 (diff) |
Add option to control use of shutdown by ${readsocket }. Bug 400
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/0000-Basic/0373 | 5 | ||||
-rw-r--r-- | test/stdout/0373 | 6 |
2 files changed, 10 insertions, 1 deletions
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}}<< **** diff --git a/test/stdout/0373 b/test/stdout/0373 index 88592ffe3..b6f6f1905 100644 --- a/test/stdout/0373 +++ b/test/stdout/0373 @@ -25,6 +25,8 @@ > 9 >>sock error<< > 10 >>ANSWER-10 << +> 11 >>ANSWER-11 +<< > ******** SERVER ******** @@ -120,4 +122,8 @@ Connection request from [127.0.0.1] QUERY-10 >LF>ANSWER-10 >*eof +Listening on port 1224 ... +Connection request from [ip4.ip4.ip4.ip4] +>LF>ANSWER-11 +>*eof End of script |