r2825 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Thu Jun 26 12:41:57 CEST 2008
Author: phk
Date: 2008-06-26 12:41:56 +0200 (Thu, 26 Jun 2008)
New Revision: 2825
Added:
trunk/varnish-cache/bin/varnishtest/tests/e00004.vtc
Log:
Commented ESI:include
Added: trunk/varnish-cache/bin/varnishtest/tests/e00004.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/e00004.vtc (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/e00004.vtc 2008-06-26 10:41:56 UTC (rev 2825)
@@ -0,0 +1,32 @@
+# $Id$
+
+test "ESI commented include"
+
+
+server s1 {
+ rxreq
+ txresp -body {
+ Before include
+ <!--esi <esi:include src="/body"> -->
+ 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
More information about the varnish-commit
mailing list