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

Add a code coverage test for the classic hasher, now that critbit is the

default



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4986 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 68d0daef
# $Id$
test "classic hash code coverage"
server s1 {
rxreq
expect req.url == /1
txresp -bodylen 5
rxreq
expect req.url == /2
txresp -bodylen 6
rxreq
expect req.url == /1
txresp -bodylen 7
rxreq
expect req.url == /2
txresp -bodylen 8
} -start
varnish v1 -arg "-hclassic,11" -vcl+backend {} -start
client c1 {
txreq -url /1
rxresp
expect resp.bodylen == 5
txreq -url /2
rxresp
expect resp.bodylen == 6
} -run
varnish v1 -cliok "purge req.url ~ ."
client c1 {
txreq -url /1
rxresp
expect resp.bodylen == 7
txreq -url /2
rxresp
expect resp.bodylen == 8
} -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