Commit 6c734ee3 authored by Joshua Bussdieker's avatar Joshua Bussdieker

Fix test

parent 5b905b07
......@@ -2,7 +2,7 @@ varnishtest "Test Key matcher functionality (WORD)"
server s1 {
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"
rxreq
expect req.http.foobar == "CAB"
......@@ -12,19 +12,19 @@ server s1 {
varnish v1 -vcl+backend {} -start
client c1 {
txreq -hdr "Foobar: A B C"
txreq -hdr "Foobar: A,B,C"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
expect resp.http.snafu == "1"
txreq -hdr "Foobar: B C A"
txreq -hdr "Foobar: B,C,A"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1003 1002"
expect resp.http.snafu == "1"
txreq -hdr "Foobar: C A B"
txreq -hdr "Foobar: C,A,B"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1004 1002"
......@@ -36,7 +36,7 @@ client c1 {
expect resp.http.X-Varnish == "1005"
expect resp.http.snafu == "2"
txreq -hdr "Foobar: A CAB RIDE"
txreq -hdr "Foobar: A,CAB,RIDE"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1007 1006"
......
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