From: phk Date: Mon, 7 Jul 2008 17:21:57 +0000 (+0000) Subject: Just to avoid misunderstandings: say that we expected the VCL compilation errors. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a80ba70e161ec979bb2a2c4b5e4c73a4a4018a;p=varnish Just to avoid misunderstandings: say that we expected the VCL compilation errors. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2882 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/vtc_varnish.c b/varnish-cache/bin/varnishtest/vtc_varnish.c index d77dc2b0..f9edb958 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -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); }