r2882 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Mon Jul 7 19:21:58 CEST 2008


Author: phk
Date: 2008-07-07 19:21:57 +0200 (Mon, 07 Jul 2008)
New Revision: 2882

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
Log:
Just to avoid misunderstandings: say that we expected the VCL compilation errors.



Modified: trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_varnish.c	2008-07-07 17:19:32 UTC (rev 2881)
+++ trunk/varnish-cache/bin/varnishtest/vtc_varnish.c	2008-07-07 17:21:57 UTC (rev 2882)
@@ -351,6 +351,8 @@
 		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);
 }




More information about the varnish-commit mailing list