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
f1b5d3f8
Commit
f1b5d3f8
authored
Aug 01, 2013
by
Joshua Bussdieker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autogenerated tests.
parent
c580d436
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
286 additions
and
0 deletions
+286
-0
x00001.vtc
bin/varnishtest/tests/x00001.vtc
+22
-0
x00002.vtc
bin/varnishtest/tests/x00002.vtc
+22
-0
x00003.vtc
bin/varnishtest/tests/x00003.vtc
+22
-0
x00004.vtc
bin/varnishtest/tests/x00004.vtc
+22
-0
x00005.vtc
bin/varnishtest/tests/x00005.vtc
+22
-0
x00006.vtc
bin/varnishtest/tests/x00006.vtc
+22
-0
x00007.vtc
bin/varnishtest/tests/x00007.vtc
+22
-0
x00008.vtc
bin/varnishtest/tests/x00008.vtc
+22
-0
x00009.vtc
bin/varnishtest/tests/x00009.vtc
+22
-0
x00010.vtc
bin/varnishtest/tests/x00010.vtc
+22
-0
x00011.vtc
bin/varnishtest/tests/x00011.vtc
+22
-0
x00012.vtc
bin/varnishtest/tests/x00012.vtc
+22
-0
x00013.vtc
bin/varnishtest/tests/x00013.vtc
+22
-0
No files found.
bin/varnishtest/tests/x00001.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"a\""
rxreq
txresp -hdr "Key: Foobar;w=\"a\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: a"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: a"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00002.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"a\""
rxreq
txresp -hdr "Key: Foobar;w=\"a\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003"
} -run
bin/varnishtest/tests/x00003.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;c;w=\"a\""
rxreq
txresp -hdr "Key: Foobar;c;w=\"a\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: A"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: A"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003"
} -run
bin/varnishtest/tests/x00004.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;n;w=\"a\""
rxreq
txresp -hdr "Key: Foobar;n;w=\"a\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00005.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"a\";n;w=\"b\""
rxreq
txresp -hdr "Key: Foobar;w=\"a\";n;w=\"b\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: a, c"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: a, c"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00006.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"a\";n;w=\"b\""
rxreq
txresp -hdr "Key: Foobar;w=\"a\";n;w=\"b\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: a, b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: a, b"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003"
} -run
bin/varnishtest/tests/x00007.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"\\\"a\\\"\""
rxreq
txresp -hdr "Key: Foobar;w=\"\\\"a\\\"\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: \"a\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: \"a\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00008.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"\\\"a\\\"\""
rxreq
txresp -hdr "Key: Foobar;w=\"\\\"a\\\"\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: \"a\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: \"a\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00009.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;w=\"\\a\""
rxreq
txresp -hdr "Key: Foobar;w=\"\\a\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: \\a"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: \\a"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00010.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: text/html"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: text/html"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00011.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: text/html; q=0.5"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: text/html; q=0.5"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00012.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: text/html;q=0.1"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: text/html;q=0.1"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
bin/varnishtest/tests/x00013.vtc
0 → 100644
View file @
f1b5d3f8
varnishtest "Test Key matcher functionality"
server s1 {
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
rxreq
txresp -hdr "Key: Foobar;p=\"text/html\""
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: text/html; foo=\"bar\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
txreq -hdr "Foobar: text/html; foo=\"bar\""
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
} -run
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