changeset 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 a9187b424a94
children ae3a46305e38
files h2_headers.t
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
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