Commit 94f528da authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Just to avoid misunderstandings: say that we expected the VCL compilation errors.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2882 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d20a0d22
......@@ -351,6 +351,8 @@ varnish_vcl(struct varnish *v, const char *vcl, enum cli_status_e expect)
AZ(vsb_overflowed(vsb));
u = varnish_ask_cli(v, vsb_data(vsb), NULL);
assert(u == CLIS_OK);
} else {
vtc_log(v->vl, 2, "VCL compilation failed (as expected)");
}
vsb_delete(vsb);
}
......
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