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
6c734ee3
Commit
6c734ee3
authored
Aug 01, 2013
by
Joshua Bussdieker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test
parent
5b905b07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c10006.vtc
bin/varnishtest/tests/c10006.vtc
+5
-5
No files found.
bin/varnishtest/tests/c10006.vtc
View file @
6c734ee3
...
@@ -2,7 +2,7 @@ varnishtest "Test Key matcher functionality (WORD)"
...
@@ -2,7 +2,7 @@ varnishtest "Test Key matcher functionality (WORD)"
server s1 {
server s1 {
rxreq
rxreq
expect req.http.foobar == "A
B
C"
expect req.http.foobar == "A
,B,
C"
txresp -hdr "Key: Foobar;w=\"A\"" -hdr "Snafu: 1" -body "1111\n"
txresp -hdr "Key: Foobar;w=\"A\"" -hdr "Snafu: 1" -body "1111\n"
rxreq
rxreq
expect req.http.foobar == "CAB"
expect req.http.foobar == "CAB"
...
@@ -12,19 +12,19 @@ server s1 {
...
@@ -12,19 +12,19 @@ server s1 {
varnish v1 -vcl+backend {} -start
varnish v1 -vcl+backend {} -start
client c1 {
client c1 {
txreq -hdr "Foobar: A
B
C"
txreq -hdr "Foobar: A
,B,
C"
rxresp
rxresp
expect resp.status == 200
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
expect resp.http.X-Varnish == "1001"
expect resp.http.snafu == "1"
expect resp.http.snafu == "1"
txreq -hdr "Foobar: B
C
A"
txreq -hdr "Foobar: B
,C,
A"
rxresp
rxresp
expect resp.status == 200
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
expect resp.http.X-Varnish == "1003 1002"
expect resp.http.snafu == "1"
expect resp.http.snafu == "1"
txreq -hdr "Foobar: C
A
B"
txreq -hdr "Foobar: C
,A,
B"
rxresp
rxresp
expect resp.status == 200
expect resp.status == 200
expect resp.http.X-Varnish == "1004 1002"
expect resp.http.X-Varnish == "1004 1002"
...
@@ -36,7 +36,7 @@ client c1 {
...
@@ -36,7 +36,7 @@ client c1 {
expect resp.http.X-Varnish == "1005"
expect resp.http.X-Varnish == "1005"
expect resp.http.snafu == "2"
expect resp.http.snafu == "2"
txreq -hdr "Foobar: A
CAB
RIDE"
txreq -hdr "Foobar: A
,CAB,
RIDE"
rxresp
rxresp
expect resp.status == 200
expect resp.status == 200
expect resp.http.X-Varnish == "1007 1006"
expect resp.http.X-Varnish == "1007 1006"
...
...
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