comparison 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
comparison
equal deleted inserted replaced
1899:a0ee073760c5 1900:236d038dc04a
88 EOF 88 EOF
89 89
90 plan(skip_all => 'not yet') unless $t->has_version('1.21.2'); 90 plan(skip_all => 'not yet') unless $t->has_version('1.21.2');
91 $t->plan(50); 91 $t->plan(50);
92 92
93 # suppress deprecation warning
94
95 open OLDERR, ">&", \*STDERR; close STDERR;
93 $t->run(); 96 $t->run();
97 open STDERR, ">&", \*OLDERR;
94 98
95 ############################################################################### 99 ###############################################################################
96 100
97 # below are basic body tests from body.t, slightly 101 # below are basic body tests from body.t, slightly
98 # adapted to HTTP/2, repeated multiple times with variations: 102 # adapted to HTTP/2, repeated multiple times with variations: