Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
a04e3095
Commit
a04e3095
authored
Oct 24, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imrpove the VCC:vcc_expr.c coverage tests
parent
76f0f3b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
v00020.vtc
bin/varnishtest/tests/v00020.vtc
+39
-0
No files found.
bin/varnishtest/tests/v00020.vtc
View file @
a04e3095
...
@@ -99,91 +99,130 @@ varnish v1 -vcl {
...
@@ -99,91 +99,130 @@ varnish v1 -vcl {
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = "foo" - "bar";
set req.http.foo = "foo" - "bar";
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = now + "foo";
set req.http.foo = now + "foo";
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = now + now;
set req.http.foo = now + now;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = now + 1;
set req.http.foo = now + 1;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1 + "foo";
set req.http.foo = 1 + "foo";
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1 + now;
set req.http.foo = 1 + now;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1 + 1s;
set req.http.foo = 1 + 1s;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1s;
set req.http.foo = 1s;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1s + 1;
set req.http.foo = 1s + 1;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1s + now;
set req.http.foo = 1s + now;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = 1s + "foo";
set req.http.foo = 1s + "foo";
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.http.foo = "foo" + 1s;
set req.http.foo = "foo" + 1s;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.ttl = 1s + 1;
set req.ttl = 1s + 1;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.ttl = 1s + now;
set req.ttl = 1s + now;
}
}
}
}
varnish v1 -badvcl {
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
sub vcl_recv {
set req.ttl = 1s + "foo";
set req.ttl = 1s + "foo";
}
}
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_fetch {
if (req.url || beresp.ttl) {
}
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_fetch {
if (req.url && beresp.ttl) {
}
}
}
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
sub vcl_fetch {
if (!req.url) {
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment