vtest "test here documents for bans"

server s1 {
	rxreq
	expect req.url == "/bar"
	txresp -body "foobar"
} -start

vinyl v1 -vcl+backend { } -start

client c1 {
	txreq  -url /bar
	rxresp
	expect resp.bodylen == 6
} -run

vinyl v1 -cliok {ban req.url ~ << foo
\.bar
foo
}

vinyl v1 -cliok ban.list

vinyl v1 -expect bans_added == 2
