Mailing List Archive

[master] efd7e382d vtc: Get a hint on why u6 may fail the grep
commit efd7e382d84637462e4a9a362f60180e96eb96db
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Fri Nov 19 17:23:50 2021 +0100

vtc: Get a hint on why u6 may fail the grep

Refs #3740

diff --git a/bin/varnishtest/tests/u00006.vtc b/bin/varnishtest/tests/u00006.vtc
index e420aa18d..3994c17b7 100644
--- a/bin/varnishtest/tests/u00006.vtc
+++ b/bin/varnishtest/tests/u00006.vtc
@@ -120,6 +120,7 @@ shell -err -expect "-R: Syntax error" \
"varnishlog -R 1000000000/1000000000000000000000000000000s"

process p1 -wait
+shell {cat ${tmpdir}/vlog}
shell {grep -q "0 CLI" ${tmpdir}/vlog}
shell -match "0 CLI[ ]+- Wr 200 [0-9]+ PONG" \
{varnishlog -n ${v1_name} -d -g raw -X "Wr 200 [0-9]+ [^P]"}
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit