varnishtest "Does anything get through at all ?"

server s1 {
	rxreq
	txresp -body "012345\n"
} -start

varnish v1 -vcl+backend {
	sub vcl_backend_response {
		set beresp.do_stream = false;
	}
} -start

varnish v1 -cliok "param.set debug +workspace"
varnish v1 -cliok "param.set debug +witness"

varnish v1 -vsc *

varnish v1 -expect MAIN.n_object == 0
varnish v1 -expect MAIN.sess_conn == 0
varnish v1 -expect MAIN.client_req == 0
varnish v1 -expect MAIN.cache_miss == 0

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

varnish v1 -expect n_object == 1
varnish v1 -expect sess_conn == 1
varnish v1 -expect client_req == 1
varnish v1 -expect cache_miss == 1
varnish v1 -expect s_sess == 1
varnish v1 -expect s_resp_bodybytes == 7
varnish v1 -expect s_resp_hdrbytes == 178
