From aa86282233f97a638b0006ad3f762585d7e14ae4 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 26 Jun 2008 10:41:56 +0000 Subject: [PATCH] Commented ESI:include git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2825 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- .../bin/varnishtest/tests/e00004.vtc | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 varnish-cache/bin/varnishtest/tests/e00004.vtc diff --git a/varnish-cache/bin/varnishtest/tests/e00004.vtc b/varnish-cache/bin/varnishtest/tests/e00004.vtc new file mode 100644 index 00000000..c76f1113 --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/e00004.vtc @@ -0,0 +1,32 @@ +# $Id$ + +test "ESI commented include" + + +server s1 { + rxreq + txresp -body { + Before include + + After include + } + 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 -- 2.39.5