[master] eae4bf6 Allow whitespace before wc(1) output

Poul-Henning Kamp phk at FreeBSD.org
Wed May 2 11:14:07 UTC 2018


commit eae4bf619f60c29e0b182a4b253a79dfb8b253fc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed May 2 11:13:06 2018 +0000

    Allow whitespace before wc(1) output

diff --git a/bin/varnishtest/tests/r02649.vtc b/bin/varnishtest/tests/r02649.vtc
index e8737b4..4ee5e41 100644
--- a/bin/varnishtest/tests/r02649.vtc
+++ b/bin/varnishtest/tests/r02649.vtc
@@ -15,4 +15,4 @@ delay 1
 process p1 -expect-exit 0 -stop -wait
 
 # Expect empty stderr output
-shell -match {^0\b} "wc -c ${tmpdir}/p1/stderr"
+shell -match {^[ 	]*0\b} "wc -c ${tmpdir}/p1/stderr"


More information about the varnish-commit mailing list