Commit 6c29a9c8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test case for vcl_init -> return(fail)

parent a239c03c
varnishtest "test failing in vcl_init{}"
server s1 {
rxreq
txresp
} -start
varnish v1 -vcl+backend {} -start
client c1 {
txreq
rxresp
} -run
varnish v1 -errvcl {VCL "vcl2" vcl_init{} failed} {
sub vcl_init {
return (fail);
}
backend b1 { .host = "${s1_addr}"; }
}
varnish v1 -cliok vcl.list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment