Mercurial > hg > nginx-tests
diff h2_request_body.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 | 6d5ecf445e57 |
children | 11463d379570 |
line wrap: on
line diff
--- a/h2_request_body.t +++ b/h2_request_body.t @@ -77,7 +77,12 @@ EOF $t->write_file('index.html', ''); $t->write_file('t.html', 'SEE-THIS'); $t->write_file('slow.html', 'SEE-THIS'); + +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); +open STDERR, ">&", \*OLDERR; ###############################################################################