Mercurial > hg > nginx-tests
comparison h2_trailers.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 | 5b1fa6e32549 |
children |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
58 EOF | 58 EOF |
59 | 59 |
60 $t->write_file('index.html', 'SEE-THIS'); | 60 $t->write_file('index.html', 'SEE-THIS'); |
61 $t->write_file('empty', ''); | 61 $t->write_file('empty', ''); |
62 $t->write_file('continuation', 'SEE-THIS'); | 62 $t->write_file('continuation', 'SEE-THIS'); |
63 | |
64 # suppress deprecation warning | |
65 | |
66 open OLDERR, ">&", \*STDERR; close STDERR; | |
63 $t->run(); | 67 $t->run(); |
68 open STDERR, ">&", \*OLDERR; | |
64 | 69 |
65 ############################################################################### | 70 ############################################################################### |
66 | 71 |
67 my ($s, $sid, $frames, $frame); | 72 my ($s, $sid, $frames, $frame); |
68 | 73 |