Commit e2d5ce24 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test banning a hash



git-svn-id: http://www.varnish-cache.org/svn/trunk@2830 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 52e68bf1
# $Id$
test "Test banning a hash"
server s1 {
rxreq
expect req.url == "/foo"
txresp -body "1111\n"
rxreq
expect req.url == "/foo"
txresp -body "11111\n"
} -start
varnish v1 -vcl+backend { } -start
client c1 {
txreq -url "/foo"
rxresp
expect resp.status == 200
expect resp.http.content-length == 5
}
client c1 -run
varnish v1 -cli "purge.hash foo"
client c1 {
txreq -url "/foo"
rxresp
expect resp.status == 200
expect resp.http.content-length == 6
}
client c1 -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