varnishtest "error from vcl_recv{} has no numeric code"
# XXX: V4 makes this an obsolete test ?


server s1 {
} -start

varnish v1 -vcl+backend {
	sub vcl_recv {
		return (synth(501));
	}
} -start

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