From: phk Date: Fri, 27 Feb 2009 13:29:58 +0000 (+0000) Subject: Change assert to error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b9175e3f86369783a7d4261e4f436387b6a4d98;p=varnish Change assert to error git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3837 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/vtc_varnish.c b/varnish-cache/bin/varnishtest/vtc_varnish.c index 0a951f5b..603eff76 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -424,6 +424,8 @@ varnish_vclbackend(struct varnish *v, const char *vcl) AZ(vsb_overflowed(vsb)); u = varnish_ask_cli(v, vsb_data(vsb), NULL); + if (u != CLIS_OK) + vtc_log(v->vl, 0, "FAIL VCL does not compile"); assert(u == CLIS_OK); vsb_clear(vsb); vsb_printf(vsb, "vcl.use vcl%d", v->vcl_nbr);