changeset 1200:630c3e7a5d40

Tests: proxy_ssi_body.t TODO adjusted.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 31 Jul 2017 14:40:39 +0300
parents 08f6eacf1cfe
children 76640144791b
files proxy_ssi_body.t
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_ssi_body.t
+++ b/proxy_ssi_body.t
@@ -58,7 +58,8 @@ 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/;
+$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');