Mercurial > hg > nginx-tests
diff proxy_duplicate_headers.t @ 1987:a095b971fbcc default tip
Tests: removed TODO and try_run() checks for legacy versions.
For h2_http2.t, try_run() is preserved to ensure that deprecation
warnings for "listen ... http2" are suppressed, yet plan() is reported
before try_run(), so failure to start will be properly reported.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Jun 2024 18:38:01 +0300 |
parents | 735226e4c7fe |
children |
line wrap: on
line diff
--- a/proxy_duplicate_headers.t +++ b/proxy_duplicate_headers.t @@ -57,9 +57,6 @@ EOF like(http_get('/'), qr/200 OK/, 'normal'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.23.0'); - like(http_get('/invalid-length'), qr/502 Bad/, 'invalid length'); like(http_get('/duplicate-length'), qr/502 Bad/, 'duplicate length'); like(http_get('/unknown-transfer-encoding'), qr/502 Bad/, @@ -74,8 +71,6 @@ like(http_get('/transfer-encoding-and-le like(http_get('/duplicate-expires'), qr/Expires: foo(?!.*bar)/s, 'duplicate expires ignored'); -} - ############################################################################### sub http_daemon {