# HG changeset patch # User Sergey Kandaurov # Date 1501501239 -10800 # Node ID 630c3e7a5d40a3c7bbca2527109fc7621a6d2437 # Parent 08f6eacf1cfe6cc784a16effd1c8b108d0160c51 Tests: proxy_ssi_body.t TODO adjusted. diff --git a/proxy_ssi_body.t b/proxy_ssi_body.t --- a/proxy_ssi_body.t +++ b/proxy_ssi_body.t @@ -58,7 +58,8 @@ EOF $t->write_file('ssi.html', 'XX'); $t->write_file('test.html', 'YY'); -$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/; +$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/ + and !$t->has_version('1.13.4'); $t->run(); ############################################################################### @@ -67,7 +68,7 @@ EOF # If later a subrequest tries to use body, it fails. TODO: { -local $TODO = 'prematurely pruned'; +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');