diff h2_headers.t @ 1192:366d789f3cbf

Tests: h2_headers.t cleanup after HTTP/2 tests split.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 16 Jun 2017 15:18:40 +0300
parents 0a7d942d549b
children 9b737ad4260b
line wrap: on
line diff
--- a/h2_headers.t
+++ b/h2_headers.t
@@ -110,12 +110,7 @@ http {
 EOF
 
 $t->run_daemon(\&http_daemon);
-
-open OLDERR, ">&", \*STDERR; close STDERR;
-$t->run();
-open STDERR, ">&", \*OLDERR;
-
-$t->waitforsocket('127.0.0.1:' . port(8083));
+$t->run()->waitforsocket('127.0.0.1:' . port(8083));
 
 # file size is slightly beyond initial window size: 2**16 + 80 bytes