Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
105 EOF | 105 EOF |
106 | 106 |
107 mkdir($t->testdir() . '/dir'); | 107 mkdir($t->testdir() . '/dir'); |
108 mkdir($t->testdir() . '/dir sp'); | 108 mkdir($t->testdir() . '/dir sp'); |
109 | 109 |
110 # suppress deprecation warning | |
111 | |
112 open OLDERR, ">&", \*STDERR; close STDERR; | |
110 $t->run()->plan(23); | 113 $t->run()->plan(23); |
114 open STDERR, ">&", \*OLDERR; | |
111 | 115 |
112 ############################################################################### | 116 ############################################################################### |
113 | 117 |
114 my $p = port(8080); | 118 my $p = port(8080); |
115 | 119 |