r3285 - trunk/varnish-cache/bin/varnishtest/tests

phk at projects.linpro.no phk at projects.linpro.no
Fri Oct 10 22:57:52 CEST 2008


Author: phk
Date: 2008-10-10 22:57:51 +0200 (Fri, 10 Oct 2008)
New Revision: 3285

Modified:
   trunk/varnish-cache/bin/varnishtest/tests/v00020.vtc
Log:
Test the "week" time unit.



Modified: trunk/varnish-cache/bin/varnishtest/tests/v00020.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/v00020.vtc	2008-10-10 20:56:06 UTC (rev 3284)
+++ trunk/varnish-cache/bin/varnishtest/tests/v00020.vtc	2008-10-10 20:57:51 UTC (rev 3285)
@@ -3,12 +3,20 @@
 test "VCL compiler coverage test: vcc_parse.c"
 
 varnish v1 -vcl {
-backend b { .host = "127.0.0.1"; }
-C{
-#include <stdio.h>
-}C
+	backend b { .host = "127.0.0.1"; }
+	C{
+	#include <stdio.h>
+	}C
 }
 
 varnish v1 -badvcl { 0; }
 
 varnish v1 -badvcl " sub vcl_recv { { } { "
+
+varnish v1 -vcl {
+	backend b { .host = "127.0.0.1"; }
+	sub vcl_fetch {
+		set obj.ttl = 1w;
+	}
+}
+




More information about the varnish-commit mailing list