From 1a5e82e82ae02f6d3986fda5e85a769c07708bac Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 10 Oct 2008 20:57:51 +0000 Subject: [PATCH] Test the "week" time unit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3285 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/tests/v00020.vtc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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; + } +} + -- 2.39.5