vtest "vinyllog write vsl to stdout"

feature cmd "command -v gzip"
feature cmd "command -v gunzip"

vinyl v1 -vcl {
	backend be none;
} -start

client c1 {
	txreq
	rxresp
	expect resp.status == 503
} -run

shell {vinyllog -d -w - -n ${v1_name} | gzip >vsl.gz}
shell {ls -l}
shell -match "RespStatus +503" {gunzip < vsl.gz | vinyllog -r -}
