[6.0] e75d07835 Allow whitespace before wc(1) output
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:53 UTC 2018
commit e75d07835d0428a1b57cd41f61f438b414fd744e
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 e8737b4f4..4ee5e414b 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