From abc5b68f49b5c49bc1c734443b1fe36c149bc059 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 26 Jun 2008 10:36:54 +0000 Subject: [PATCH] Test ESI CDATA quoting git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2823 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- .../bin/varnishtest/tests/e00002.vtc | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 varnish-cache/bin/varnishtest/tests/e00002.vtc 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 -- 2.39.5