Commit 69225212 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r3572: Add bodylen expects to the ESI test cases



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3741 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent cd40fe17
......@@ -17,12 +17,13 @@ varnish v1 -vcl+backend {
sub vcl_fetch {
esi;
}
} -start
} -start -cliok "param.set esi_syntax 4"
client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 35
}
client c1 -run
......@@ -24,6 +24,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 35
}
client c1 -run
......@@ -27,6 +27,7 @@ varnish v1 -vcl+backend {
client c1 {
txreq
rxresp
expect resp.bodylen == 65
expect resp.status == 200
}
......
......@@ -28,6 +28,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 67
}
client c1 -run
......@@ -29,6 +29,7 @@ client c1 {
txreq -url /foo/bar
rxresp
expect resp.status == 200
expect resp.bodylen == 67
}
client c1 -run
......@@ -40,6 +40,7 @@ client c1 {
txreq -url /foo/bar -hdr "Host: froboz"
rxresp
expect resp.status == 200
expect resp.bodylen == 67
}
client c1 -run
......@@ -67,6 +67,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 231
}
client c1 -run
......
......@@ -31,6 +31,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 72
expect resp.http.content-length == 72
} -run
......@@ -40,5 +41,6 @@ client c1 {
txreq -url bar
rxresp
expect resp.status == 200
expect resp.bodylen == 37
expect resp.http.transfer-encoding == "chunked"
} -run
......@@ -20,6 +20,7 @@ varnish v1 -cliok "debug.fragfetch 4"
client c1 {
txreq -url /foo
rxresp
expect resp.bodylen == 49
} -run
varnish v1 -expect esi_parse == 0
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