Commit d939a224 authored by Geoff Simmons's avatar Geoff Simmons

Fine-tune some tests

parent 93c2a0c3
......@@ -36,7 +36,7 @@ client c1 {
expect resp.http.foo2 == "baz"
expect resp.http.foo1d == "bar"
expect resp.http.foo2d == "baz"
} -run
}
client c2 {
txreq -url /foo
......@@ -45,4 +45,7 @@ client c2 {
expect resp.http.foo2 == "baz"
expect resp.http.foo1d == "bar"
expect resp.http.foo2d == "baz"
} -run
}
client c1 -run
client c2 -run
......@@ -9,6 +9,9 @@ server s1 {
rxreq
expect req.url == "/bar"
txresp -hdr "Foo: baz" -hdr "Bar: quux" -body "foobar"
rxreq
expect req.url == "/baz"
txresp -hdr "Foo: baz" -hdr "Bar: baz" -body "foobar"
} -start
varnish v1 -vcl+backend {
......@@ -52,4 +55,11 @@ client c1 {
expect resp.http.bar == "quux"
expect resp.http.static == "match"
expect resp.http.dynamic == "nomatch"
txreq -url "/baz"
rxresp
expect resp.http.foo == "baz"
expect resp.http.bar == "baz"
expect resp.http.static == "match"
expect resp.http.dynamic == "match"
} -run
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