Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
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
Hide 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 {
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = "foo" - "bar";
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = now + "foo";
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = now + now;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = now + 1;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1 + "foo";
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1 + now;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1 + 1s;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1s;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1s + 1;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1s + now;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = 1s + "foo";
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.http.foo = "foo" + 1s;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.ttl = 1s + 1;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
set req.ttl = 1s + now;
}
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
sub vcl_recv {
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