Commit 835f4e63 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a test-case for VCL purging



git-svn-id: http://www.varnish-cache.org/svn/trunk@3046 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 041183cb
# $Id: c00016.vtc 3012 2008-07-24 12:22:35Z des $
test "Test vcl purging"
server s1 {
rxreq
txresp -body "foo"
rxreq
txresp -body "foo"
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
purge_url("^/$");
}
} -start
client c1 {
txreq
rxresp
expect resp.http.X-Varnish == "1001"
txreq
rxresp
expect resp.http.X-Varnish == "1002"
} -start
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