From: phk Date: Thu, 26 Jun 2008 10:36:54 +0000 (+0000) Subject: Test ESI CDATA quoting X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc5b68f49b5c49bc1c734443b1fe36c149bc059;p=varnish Test ESI CDATA quoting git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2823 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/e00002.vtc b/varnish-cache/bin/varnishtest/tests/e00002.vtc new file mode 100644 index 00000000..73d7d2e1 --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/e00002.vtc @@ -0,0 +1,29 @@ +# $Id$ + +test "ESI CDATA" + + +server s1 { + rxreq + txresp -body { + + ]]> + This is a test: Unseen University + + 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