diff h2_request_body_extra.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 f66266cc82c8
children 2a0a6035a1af
line wrap: on
line diff
--- a/h2_request_body_extra.t
+++ b/h2_request_body_extra.t
@@ -90,7 +90,11 @@ EOF
 plan(skip_all => 'not yet') unless $t->has_version('1.21.2');
 $t->plan(50);
 
+# suppress deprecation warning
+
+open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
+open STDERR, ">&", \*OLDERR;
 
 ###############################################################################