[master] 4fdcdca Another attempt to make this test more reliable: zero all numbers

Poul-Henning Kamp phk at FreeBSD.org
Tue Oct 11 11:14:05 CEST 2016


commit 4fdcdcaf295dce1e9e08b2094fc381793e28d5ff
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Oct 11 08:43:16 2016 +0000

    Another attempt to make this test more reliable:  zero all numbers

diff --git a/bin/varnishtest/tests/u00002.vtc b/bin/varnishtest/tests/u00002.vtc
index 662c124..d6aa4ef 100644
--- a/bin/varnishtest/tests/u00002.vtc
+++ b/bin/varnishtest/tests/u00002.vtc
@@ -10,14 +10,14 @@ varnish v1 -vcl+backend {} -start
 delay 1
 
 process p1 {varnishstat -1 -n ${v1_name} -f ^LCK.vbe.destroy \
-	-f ^*.locks -f LCK.vbe.* -f LCK.mempool.*} -run
+	-f LCK.vbe.* -f LCK.mempool.* | tr '[1-9]' '0'} -run
 
 shell "grep -q vbe ${tmpdir}/p1/stdout"
 shell "grep -q mempool ${tmpdir}/p1/stdout"
 err_shell "" "grep -q LCK.vbe.destroy ${tmpdir}/p1/stdout"
 
 process p2 {varnishstat -1 -n ${v1_name} -f ^*vbe.destroy \
-	-f ^*.locks -f *vbe* -f *mempool*} -run
+	-f *vbe* -f *mempool* | tr '[1-9]' '0'} -run
 
 shell "grep -q vbe ${tmpdir}/p2/stdout"
 shell "grep -q mempool ${tmpdir}/p2/stdout"



More information about the varnish-commit mailing list