summaryrefslogtreecommitdiff
path: root/test/stdout/0373
blob: 2bd1fe67a2b435025b3551d7ee25335ab2028880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
> connfail cases (no server)
> Failed: failed to connect to socket TESTSUITE/test-socket: No such file or directory
> 2 ++ no socket ++
> 
> unix-socket cases
> 1 >>ANSWER-1
<<
> 2 >>ANSWER-2<<
> 3 >>ANSWER-3*EOL*<<
> 4 >>ANSWER-4*EOL*<<
> 5 >>ANSWER-5<<
> 6 >><<
> 7 >>sock error<<
> Failed: socket read timed out
> 9 >>sock error<<
> 
451 Temporary local problem - please try later
> ipv4 cases
> 1  ANSWER-1      >>ANSWER-1
<<
> 2  ANSWER-2      >>ANSWER-2<<
> 3  ANSWER-3*EOL* >>ANSWER-3*EOL*<<
> 4  ANSWER-4*EOL* >>ANSWER-4*EOL*<<
> 5  ANSWER-5      >>ANSWER-5<<
> 6                >><<
> 7                >><<
> Failed: socket read timed out
> 9  sock error    >>sock error<<
> 10 ANSWER-10\n     >>ANSWER-10
<<
> 11 ANSWER-11a    >>ANSWER-11a
<<
> 11 ANSWER-11b    >>ANSWER-11b
<<
> 
> eol-replacement arg
> 12 ANSWER-12x2  (no arg)     >>ANSWER-12\r\nANSWER-12\r\n<<
> 13 ANSWER-13x2  (empty arg)  >>ANSWER-13\r\nANSWER-13\r\n<<
> 14 ANSWER-14x2  X            >>ANSWER-14\rXANSWER-14\rX<<
> 15 ANSWER-15x2  XYZZY        >>ANSWER-15\rXYZZYANSWER-15\rXYZZY<<
> 16 ANSWER-16x2  (space)      >>ANSWER-16\r ANSWER-16\r <<
> 17 ANSWER-17x2  (newline)    >>ANSWER-17\r\nANSWER-17\r\n<<
> 
> Failed: failed to connect to any address for 127.0.0.1: Connection refused
> 
> caching of response value
> 1  >>ANSWER-1
<<
> 1+ >>ANSWER-1
<<
> 2  >>ANSWER-2
<<
> 2- >>expected failure<<
> 1- >>expected failure<<
> 1+ >>ANSWER-1
<<
> 1- >>ANSWER-1
<<
> 

******** SERVER ********
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-1
>LF>ANSWER-1
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-2
>>ANSWER-2
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-3
>LF>ANSWER-3
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-4
>LF>ANSWER-4
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
>>ANSWER-5
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
*sleep 1
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-8
*sleep 2
Expected EOF read from client
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-9
*sleep 2
End of script
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-ACL
*sleep 3
End of script
Listening on port 1224 ... 
Connection request from [ip4.ip4.ip4.ip4]
QUERY-1
>LF>ANSWER-1
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-2
>>ANSWER-2
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-3
>LF>ANSWER-3
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-4
>LF>ANSWER-4
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
>>ANSWER-5
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
*sleep 1
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-8
*sleep 2
Expected EOF read from client
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-9
*sleep 2
Expected EOF read from client
Listening on port 1224 ... 
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-11a
>*eof
Listening on port 1224 ... 
Connection request from [ip4.ip4.ip4.ip4]
QUERY-11
>LF>ANSWER-11b
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-12
>>ANSWER-12\x0d\x0aANSWER-12\x0d\x0a
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-13
>>ANSWER-13\x0d\x0aANSWER-13\x0d\x0a
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-14
>>ANSWER-14\x0d\x0aANSWER-14\x0d\x0a
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-15
>>ANSWER-15\x0d\x0aANSWER-15\x0d\x0a
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-16
>>ANSWER-16\x0d\x0aANSWER-16\x0d\x0a
>*eof
Listening on port 1224 ... 
Connection request from [127.0.0.1]
QUERY-17
>>ANSWER-17\x0d\x0aANSWER-17\x0d\x0a
>*eof
End of script
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-1
>LF>ANSWER-1
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-2
>LF>ANSWER-2
>*eof
Listening on TESTSUITE/test-socket ... 
Connection request
QUERY-1
>LF>ANSWER-1
>*eof
End of script