[master] 9a14e68e9 Tolerate GCOV droppings in u0.vtc

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Jun 2 11:40:07 UTC 2020


commit 9a14e68e91ad59bb67839f87469fa8166c91612c
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jun 2 13:33:52 2020 +0200

    Tolerate GCOV droppings in u0.vtc

diff --git a/bin/varnishtest/tests/u00000.vtc b/bin/varnishtest/tests/u00000.vtc
index f7c13fb27..e5797fe8c 100644
--- a/bin/varnishtest/tests/u00000.vtc
+++ b/bin/varnishtest/tests/u00000.vtc
@@ -4,7 +4,7 @@ shell "varnishd -b 127.0.0.1:80 -C 2> ${tmpdir}/_.c"
 
 shell {
 	varnishd -n ${tmpdir}/no_keep -C -b 127.0.0.1:80 2> no_keep.c
-	test -s no_keep.c && ! test -d no_keep
+	test -s no_keep.c && ! test -d no_keep || test -f no_keep/vgc.gcda
 }
 
 shell {


More information about the varnish-commit mailing list