comparison h2.t @ 741:a2e7f5ff3aa8

Tests: hid unwanted output with old OpenSSL.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 19 Oct 2015 17:04:34 +0300
parents 3e2676108d69
children fc21544a8640
comparison
equal deleted inserted replaced
740:3e2676108d69 741:a2e7f5ff3aa8
232 . ">>$d/openssl.out 2>&1") == 0 232 . ">>$d/openssl.out 2>&1") == 0
233 or die "Can't create certificate for $name: $!\n"; 233 or die "Can't create certificate for $name: $!\n";
234 } 234 }
235 235
236 $t->run_daemon(\&http_daemon); 236 $t->run_daemon(\&http_daemon);
237 $t->run()->waitforsocket('127.0.0.1:8083'); 237
238 open OLDERR, ">&", \*STDERR; close STDERR;
239 $t->run();
240 open STDERR, ">&", \*OLDERR;
241
242 $t->waitforsocket('127.0.0.1:8083');
238 243
239 # file size is slightly beyond initial window size: 2**16 + 80 bytes 244 # file size is slightly beyond initial window size: 2**16 + 80 bytes
240 245
241 $t->write_file('t1.html', 246 $t->write_file('t1.html',
242 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); 247 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202)));