changeset 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
files h2.t
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t
+++ b/h2.t
@@ -234,7 +234,12 @@ foreach my $name ('localhost') {
 }
 
 $t->run_daemon(\&http_daemon);
-$t->run()->waitforsocket('127.0.0.1:8083');
+
+open OLDERR, ">&", \*STDERR; close STDERR;
+$t->run();
+open STDERR, ">&", \*OLDERR;
+
+$t->waitforsocket('127.0.0.1:8083');
 
 # file size is slightly beyond initial window size: 2**16 + 80 bytes