Adjust to varnish-cache 65242d1d97a3f0a75880f85bf2d1e0b56f917d98

parent 16f2bda4
...@@ -4,7 +4,7 @@ varnishtest "ESI include" ...@@ -4,7 +4,7 @@ varnishtest "ESI include"
server s1 { server s1 {
rxreq rxreq
expect req.http.esi0 == "foo" expect req.http.esi0 == "foo"
txresp -body { txresp -noserver -body {
<html> <html>
Before include Before include
<esi:include src="/body" sr="foo"/> <esi:include src="/body" sr="foo"/>
...@@ -17,7 +17,7 @@ server s2 { ...@@ -17,7 +17,7 @@ server s2 {
rxreq rxreq
expect req.url == "/body1" expect req.url == "/body1"
expect req.http.esi0 != "foo" expect req.http.esi0 != "foo"
txresp -body { txresp -noserver -body {
Included file Included file
} }
} -start } -start
...@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend { ...@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
} -start } -start
client c1 { client c1 {
txreq -hdr "Host: foo" txreq -nouseragent -hdr "Host: foo"
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 75 expect resp.bodylen == 75
...@@ -75,7 +75,7 @@ client c1 { ...@@ -75,7 +75,7 @@ client c1 {
delay .1 delay .1
# test that there is no difference on miss/hit # test that there is no difference on miss/hit
txreq -hdr "Host: foo" txreq -nouseragent -hdr "Host: foo"
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 75 expect resp.bodylen == 75
......
...@@ -3,7 +3,7 @@ varnishtest "same as e00003.vtc with serial processing" ...@@ -3,7 +3,7 @@ varnishtest "same as e00003.vtc with serial processing"
server s1 { server s1 {
rxreq rxreq
expect req.http.esi0 == "foo" expect req.http.esi0 == "foo"
txresp -body { txresp -noserver -body {
<html> <html>
Before include Before include
<esi:include src="/body" sr="foo"/> <esi:include src="/body" sr="foo"/>
...@@ -16,7 +16,7 @@ server s2 { ...@@ -16,7 +16,7 @@ server s2 {
rxreq rxreq
expect req.url == "/body1" expect req.url == "/body1"
expect req.http.esi0 != "foo" expect req.http.esi0 != "foo"
txresp -body { txresp -noserver -body {
Included file Included file
} }
} -start } -start
...@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend { ...@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
} -start } -start
client c1 { client c1 {
txreq -hdr "Host: foo" txreq -nouseragent -hdr "Host: foo"
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 75 expect resp.bodylen == 75
...@@ -75,7 +75,7 @@ client c1 { ...@@ -75,7 +75,7 @@ client c1 {
delay .1 delay .1
# test that there is no difference on miss/hit # test that there is no difference on miss/hit
txreq -hdr "Host: foo" txreq -nouseragent -hdr "Host: foo"
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 75 expect resp.bodylen == 75
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment