vtest "Storage related vcl variables"

server s1 {
	rxreq
	txresp
} -start

vinyl v1 -syntax 4.0 -vcl+backend {
	sub vcl_backend_response {
		set beresp.http.has_s0 = storage.s0;
		set beresp.http.has_Transient = storage.Transient;
	}
} -start

vinyl v1 -cliok "storage.list"

client c1 {
	txreq
	rxresp
	expect resp.http.has_s0 == storage.s0
	expect resp.http.has_Transient == storage.Transient
} -run
