[master] 1f22984 Use -match instead of -expect

Poul-Henning Kamp phk at FreeBSD.org
Sat May 27 13:50:06 CEST 2017


commit 1f2298481b8dcc87bae1dd655cbe6577af077485
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat May 27 11:45:52 2017 +0000

    Use -match instead of -expect

diff --git a/bin/varnishtest/tests/u00005.vtc b/bin/varnishtest/tests/u00005.vtc
index 798a6cb..4b068d4 100644
--- a/bin/varnishtest/tests/u00005.vtc
+++ b/bin/varnishtest/tests/u00005.vtc
@@ -47,5 +47,5 @@ shell -expect "MAIN.uptime" \
 	"varnishstat -n ${v1_name} -1"
 shell -expect "<type>MAIN</type>" \
 	"varnishstat -n ${v1_name} -x"
-shell -expect "MAIN.uptime\":" \
+shell -match {"MAIN.uptime":} \
 	"varnishstat -n ${v1_name} -j"



More information about the varnish-commit mailing list