varnishtest "Check that -s works"

server s1 {
	rxreq
	txresp -hdr "Connection: close" -body "012345\n"
} -start

varnish v1 \
	-arg "-s file,${tmpdir}/varnishtest_backing,10M" \
	-vcl+backend {} -start

client c1 {
	txreq -url "/"
	rxresp
	expect resp.status == 200
} -run

server s1 -wait

varnish v1 -stop
shell "rm ${tmpdir}/varnishtest_backing"
