[5.1] 2e5da22 Make -vsl_catchup bail on test-failure or child death
    Poul-Henning Kamp 
    phk at FreeBSD.org
       
    Mon Apr 10 13:59:05 CEST 2017
    
    
  
commit 2e5da2264069121e6001b8da9d1f16ec7430b7cc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Mar 23 20:08:51 2017 +0000
    Make -vsl_catchup bail on test-failure or child death
diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index eb42078..2079943 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -189,7 +189,7 @@ vsl_catchup(const struct varnish *v)
 	int vsl_idle;
 
 	vsl_idle = v->vsl_idle;
-	while (vsl_idle == v->vsl_idle)
+	while (!vtc_error && v->pid && vsl_idle == v->vsl_idle)
 		VTIM_sleep(0.1);
 }
 
    
    
More information about the varnish-commit
mailing list