]> err.no Git - varnish/commitdiff
Just to avoid misunderstandings: say that we expected the VCL compilation errors.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 17:21:57 +0000 (17:21 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 17:21:57 +0000 (17:21 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2882 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_varnish.c

index d77dc2b07bfcc446e4a3a26543acbd0e9dd4e199..f9edb958500348ffae1218a6b109526f87ea5766 100644 (file)
@@ -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);
 }