Mercurial > hg > nginx-tests
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 | 11463d379570 |
line wrap: on
line diff
--- a/h2_limit_conn.t Wed May 31 13:29:31 2023 +0400 +++ b/h2_limit_conn.t Wed May 31 13:29:34 2023 +0400 @@ -51,7 +51,12 @@ EOF $t->write_file('t.html', 'SEE-THIS'); + +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); +open STDERR, ">&", \*OLDERR; ###############################################################################