varnishtest "Test connection error on pipe"

varnish v1 -vcl {
       backend default { .host = "${bad_backend}"; }
       sub vcl_recv {
		return (pipe);
       }
} -start

client c1 {
       txreq
       expect_close
} -run

varnish v1 -expect sc_tx_error == 1
