Commit dfa5ab30 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More coverage of vcc_expr.c



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5137 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent da3ee836
# $Id$
test "VCL compiler coverage test: vcc_parse.c"
test "VCL compiler coverage test: vcc_parse.c & vcc_expr.c"
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
......@@ -17,6 +17,11 @@ varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
sub vcl_fetch {
set beresp.ttl = 1w;
set beresp.ttl *= 1.5;
set beresp.ttl = 1.5 s * 2.5;
set beresp.ttl = 1.5 s / 2.5;
set beresp.ttl = 1.5h + 1.5s;
set beresp.ttl = 1.5h - 1.5s;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment