Mercurial > hg > nginx-tests
diff h3_server_name.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 | 8b74936ff2ac |
children |
line wrap: on
line diff
--- a/h3_server_name.t +++ b/h3_server_name.t @@ -74,7 +74,11 @@ foreach my $name ('localhost') { or die "Can't create certificate for $name: $!\n"; } +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); +open STDERR, ">&", \*OLDERR; ###############################################################################