[master] 81f4633 Better yet, wait until varnishlog is started.

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 5 11:38:07 UTC 2018


commit 81f4633e57cb45de9947ca51451758ad45a5f290
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 5 11:37:28 2018 +0000

    Better yet, wait until varnishlog is started.

diff --git a/bin/varnishtest/tests/t02000.vtc b/bin/varnishtest/tests/t02000.vtc
index c116466..cb7dc75 100644
--- a/bin/varnishtest/tests/t02000.vtc
+++ b/bin/varnishtest/tests/t02000.vtc
@@ -21,7 +21,7 @@ varnish v1 -cliok "param.set vsl_mask +H2RxHdr,+H2RxBody,+H2TxHdr,+H2TxBody"
 
 process p1 {exec varnishlog -n ${v1_name} -g raw -w ${tmpdir}/vlog -A} -start
 
-delay 1
+shell {while ! test -s ${tmpdir}/vlog ; do sleep 1 ; done}
 
 client c1 {
 	txpri


More information about the varnish-commit mailing list