r4745 - trunk/varnish-cache/bin/varnishtest
phk at varnish-cache.org
phk at varnish-cache.org
Wed Apr 28 14:26:03 CEST 2010
Author: phk
Date: 2010-04-28 14:26:03 +0200 (Wed, 28 Apr 2010)
New Revision: 4745
Modified:
trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
Log:
Return on error, we are in the vtc_thread
Modified: trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2010-04-28 12:08:04 UTC (rev 4744)
+++ trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2010-04-28 12:26:03 UTC (rev 4745)
@@ -509,10 +509,12 @@
AZ(vsb_overflowed(vsb));
u = varnish_ask_cli(v, vsb_data(vsb), NULL);
- if (u != expect)
+ if (u != expect) {
vtc_log(v->vl, 0,
"VCL compilation got %u expected %u",
u, expect);
+ return;
+ }
if (u == CLIS_OK) {
vsb_clear(vsb);
vsb_printf(vsb, "vcl.use vcl%d", v->vcl_nbr);
More information about the varnish-commit
mailing list