Mercurial > hg > nginx-tests
comparison h2_request_body.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 | 6d5ecf445e57 |
children | 11463d379570 |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
75 EOF | 75 EOF |
76 | 76 |
77 $t->write_file('index.html', ''); | 77 $t->write_file('index.html', ''); |
78 $t->write_file('t.html', 'SEE-THIS'); | 78 $t->write_file('t.html', 'SEE-THIS'); |
79 $t->write_file('slow.html', 'SEE-THIS'); | 79 $t->write_file('slow.html', 'SEE-THIS'); |
80 | |
81 # suppress deprecation warning | |
82 | |
83 open OLDERR, ">&", \*STDERR; close STDERR; | |
80 $t->run(); | 84 $t->run(); |
85 open STDERR, ">&", \*OLDERR; | |
81 | 86 |
82 ############################################################################### | 87 ############################################################################### |
83 | 88 |
84 # request body (uses proxied response) | 89 # request body (uses proxied response) |
85 | 90 |