Commit 9589f406 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test XML/ESI syntax errors etc.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2922 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8680c350
# $Id: e00004.vtc 2906 2008-07-08 10:29:07Z phk $
test "ESI parsing errors"
server s1 {
rxreq
txresp -body {
Before include
<!--esi <esi:include src="/body"/> -->
After include
<!-- normal comment -->
<esi:bogosity/>
}
rxreq
expect req.url == "/body"
txresp -body {
Included file
}
} -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