diff h2_limit_conn.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 882267679006
children
line wrap: on
line diff
--- a/h2_limit_conn.t
+++ b/h2_limit_conn.t
@@ -51,7 +51,12 @@ http {
 EOF
 
 $t->write_file('t.html', 'SEE-THIS');
+
+# suppress deprecation warning
+
+open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
+open STDERR, ">&", \*OLDERR;
 
 ###############################################################################