From c7a80ba70e161ec979bb2a2c4b5e4c73a4a4018a Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 7 Jul 2008 17:21:57 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishtest/vtc_varnish.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5