From: phk Date: Fri, 10 Oct 2008 20:57:51 +0000 (+0000) Subject: Test the "week" time unit. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a5e82e82ae02f6d3986fda5e85a769c07708bac;p=varnish Test the "week" time unit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3285 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/v00020.vtc b/varnish-cache/bin/varnishtest/tests/v00020.vtc index b131699a..ca3441d9 100644 --- a/varnish-cache/bin/varnishtest/tests/v00020.vtc +++ b/varnish-cache/bin/varnishtest/tests/v00020.vtc @@ -3,12 +3,20 @@ test "VCL compiler coverage test: vcc_parse.c" varnish v1 -vcl { -backend b { .host = "127.0.0.1"; } -C{ -#include -}C + backend b { .host = "127.0.0.1"; } + C{ + #include + }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; + } +} +