Commit 37d6f227 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

A testcase for the simple_list hasher



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2828 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b8d15b40
# $Id$
test "Check simple list hasher"
varnish v1 -arg "-h simple_list -b 127.0.0.1:9080" -start
server s1 {
rxreq
txresp -hdr "Connection: close" -body "012345\n"
}
server s1 -start
client c1 {
txreq -url "/"
rxresp
expect resp.status == 200
txreq -url "/"
rxresp
expect resp.status == 200
expect resp.http.x-varnish == "1002 1001"
}
client c1 -run
server s1 -wait
varnish v1 -stop
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