Mercurial > hg > nginx-tests
diff h2_absolute_redirect.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 | 41ca4b00c2d0 |
children | 2a0a6035a1af |
line wrap: on
line diff
--- a/h2_absolute_redirect.t +++ b/h2_absolute_redirect.t @@ -107,7 +107,11 @@ EOF mkdir($t->testdir() . '/dir'); mkdir($t->testdir() . '/dir sp'); +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run()->plan(23); +open STDERR, ">&", \*OLDERR; ###############################################################################