Commit d6b3d964 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Add test to exercise the -s parameter

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2789 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 62666fce
# $Id$
test "Check that -s works"
varnish v1 -arg "-s file,varnishtest_backing,10M -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
}
client c1 -run
server s1 -wait
varnish v1 -stop
shell "rm ../varnishd/varnishtest_backing"
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