Commit eb8de1d6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

The first two incomplete ESI testcases



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2822 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 870f3889
# $Id$
test "ESI test with no ESI content"
server s1 {
rxreq
txresp -body {
-This is a test: Hello world
}
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
esi;
}
} -start
client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.http.content-length == 33
}
client c1 -run
# $Id$
test "ESI:remove"
server s1 {
rxreq
txresp -body {
<esi:remove>
This is a test: Unseen University
</esi:remove>
This is a test: Hello world
}
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
esi;
}
} -start
client c1 {
txreq
rxresp
expect resp.status == 200
}
client c1 -run
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