Commit d57d8153 authored by Geoff Simmons's avatar Geoff Simmons

Test error handling for re-use of a VDP filter name.

parent 9aac765d
......@@ -169,6 +169,15 @@ varnish v1 -errvcl {vdp pipe failure: new enoent: cannot execute ${tmpdir}/foo:
}
}
varnish v1 -errvcl {vdp pipe failure: new taken: filter name esi already in use by another VDP} {
import ${vmod_pipe};
backend b None;
sub vcl_init {
new taken = pipe.vdp(path="${cat}", name="esi");
}
}
varnish v1 -vcl { backend b None; }
# Tests the discard event, with removal of VDPs.
......
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