comparison http_keepalive.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents 489484af31eb
children
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
83 $t->write_file('r', ''); 83 $t->write_file('r', '');
84 $t->write_file('time', ''); 84 $t->write_file('time', '');
85 $t->write_file('safari', ''); 85 $t->write_file('safari', '');
86 $t->write_file('none', ''); 86 $t->write_file('none', '');
87 $t->write_file('zero', ''); 87 $t->write_file('zero', '');
88 $t->try_run('no keepalive_time')->plan(21); 88 $t->run()->plan(21);
89 89
90 ############################################################################### 90 ###############################################################################
91 91
92 # keepalive_requests 92 # keepalive_requests
93 93
141 EOF 141 EOF
142 142
143 read_keepalive($s); 143 read_keepalive($s);
144 shutdown($s, 1); 144 shutdown($s, 1);
145 145
146 TODO: {
147 local $TODO = 'not yet' unless ($^O eq 'MSWin32' or $^O eq 'solaris')
148 or $t->has_version('1.19.9');
149
150 ok(IO::Select->new($s)->can_read(3), 'EOF in discard body'); 146 ok(IO::Select->new($s)->can_read(3), 'EOF in discard body');
151
152 }
153 147
154 $t->stop(); 148 $t->stop();
155 149
156 TODO: { 150 TODO: {
157 local $TODO = 'not yet'; 151 local $TODO = 'not yet';