diff h2_proxy_ssl.t @ 1900:236d038dc04a

Tests: suppress "listen .. http2;" deprecation warnings.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 31 May 2023 13:29:34 +0400
parents dbce8fb5f5f8
children
line wrap: on
line diff
--- a/h2_proxy_ssl.t
+++ b/h2_proxy_ssl.t
@@ -74,7 +74,12 @@ foreach my $name ('localhost') {
 }
 
 $t->write_file('index.html', '');
+
+# suppress deprecation warning
+
+open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
+open STDERR, ">&", \*OLDERR;
 
 ###############################################################################