Commit 8709deb8 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Test coverage for VCL "weak" symbols

Simply make sure we don't allow symbols starting with an underscore
symbol.
parent e8965299
......@@ -77,3 +77,11 @@ varnish v1 -errvcl {Unknown token '--' when looking for INT} {
set resp.status = --200;
}
}
varnish v1 -errvcl "Syntax error" {
import debug;
backend be none;
sub vcl_init {
new _invalid = debug.obj();
}
}
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