Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
72 . "-out $d/$name.crt -keyout $d/$name.key " | 72 . "-out $d/$name.crt -keyout $d/$name.key " |
73 . ">>$d/openssl.out 2>&1") == 0 | 73 . ">>$d/openssl.out 2>&1") == 0 |
74 or die "Can't create certificate for $name: $!\n"; | 74 or die "Can't create certificate for $name: $!\n"; |
75 } | 75 } |
76 | 76 |
77 # suppress deprecation warning | |
78 | |
79 open OLDERR, ">&", \*STDERR; close STDERR; | |
77 $t->run(); | 80 $t->run(); |
81 open STDERR, ">&", \*OLDERR; | |
78 | 82 |
79 ############################################################################### | 83 ############################################################################### |
80 | 84 |
81 # ssl_servername_regex wasn't inherited from QUIC connection, | 85 # ssl_servername_regex wasn't inherited from QUIC connection, |
82 # other protocols are provided for convenience | 86 # other protocols are provided for convenience |