Mercurial > hg > nginx-tests
diff proxy_ssi_body.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 630c3e7a5d40 |
children |
line wrap: on
line diff
--- a/proxy_ssi_body.t +++ b/proxy_ssi_body.t @@ -58,8 +58,6 @@ EOF $t->write_file('ssi.html', 'X<!--# include virtual="test.html" -->X'); $t->write_file('test.html', 'YY'); -$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/ - and !$t->has_version('1.13.4'); $t->run(); ############################################################################### @@ -67,14 +65,9 @@ EOF # Request body cache file is released once a response is got. # If later a subrequest tries to use body, it fails. -TODO: { -local $TODO = 'prematurely pruned' unless $t->has_version('1.13.4'); - like(http_get_body('/proxy/ssi.html', "1234567890"), qr/^XYYX$/m, 'body in file in proxied subrequest'); -} - ############################################################################### sub http_get_body {