Commit 4f24cb21 authored by Geoff Simmons's avatar Geoff Simmons

Test error handling for an illegal file name.

parent 173ac2a6
......@@ -91,3 +91,12 @@ varnish v1 -errvcl {not a regular file} {
new rdr = file.reader("${tmpdir}");
}
}
varnish v1 -errvcl {vmod file failure: new rdr: name is empty} {
import ${vmod_file};
backend b { .host = "${bad_ip}"; }
sub vcl_init {
new rdr = file.reader("");
}
}
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