LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / test / scripts / 1000-Basic-ipv6 / 1010
1 # ${readsocket (IPv6)
2 #
3 # Note the difference between:
4 #   >*eof      => close the connection
5 #   *eof       => expect to read EOF from client
6 #
7 server PORT_S 9
8 QUERY-1
9 >LF>ANSWER-1
10 >*eof
11 QUERY-2
12 >>ANSWER-2
13 >*eof
14 QUERY-3
15 >LF>ANSWER-3
16 >*eof
17 QUERY-4
18 >LF>ANSWER-4
19 >*eof
20 >>ANSWER-5
21 >*eof
22 *sleep 1
23 >*eof
24 >*eof
25 QUERY-8
26 *sleep 2
27 *eof
28 QUERY-9
29 *sleep 2
30 *eof
31 ****
32 millisleep 500
33 exim -be
34 1 >>${readsocket{inet:[::1]:PORT_S}{QUERY-1\n}}<<
35 2 >>${readsocket{inet:[::1]:PORT_S}{QUERY-2\n}}<<
36 3 >>${readsocket{inet:[::1]:PORT_S}{QUERY-3\n}{2s}{*EOL*}}<<
37 4 >>${readsocket{inet:[::1]:PORT_S}{QUERY-4\n}{2s}{*EOL*}{sock error}}<<
38 5 >>${readsocket{inet:[::1]:PORT_S}{}}<<
39 6 >>${readsocket{inet:[::1]:PORT_S}{QUERY-6\n}}<<
40 7 >>${readsocket{inet:[::1]:PORT_S}{QUERY-7\n}{1s}{}{sock error}}<<
41 8 >>${readsocket{inet:[::1]:PORT_S}{QUERY-8\n}{1s}}<<
42 9 >>${readsocket{inet:[::1]:PORT_S}{QUERY-9\n}{1s}{}{sock error}}<<
43 ****