[master] 4185016f6 Try to get this test running on SunOS

Federico G. Schwindt fgsch at lodoss.net
Mon Dec 3 00:00:12 UTC 2018

commit 4185016f67a38e815c37b63ec0b29c52cbf4b588
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Dec 2 23:58:50 2018 +0000

    Try to get this test running on SunOS

diff --git a/bin/varnishtest/tests/u00006.vtc b/bin/varnishtest/tests/u00006.vtc
index 2f1e41476..2f648ab8f 100644
--- a/bin/varnishtest/tests/u00006.vtc
+++ b/bin/varnishtest/tests/u00006.vtc
@@ -66,18 +66,18 @@ shell -err -expect "Expected positive integer" \
 	"varnishlog -q {-1}"
 shell -err -expect "Syntax error in level limit" \
 	"varnishlog -q {1a}"
-shell -err -expect "Expected VSL tag name got ''" \
-	"varnishlog -q ''"
+shell -err -expect "Expected VSL tag name got '['" \
+	{varnishlog -q "[]"}
 shell -err -expect "Tag name matches zero tags" \
 	"varnishlog -q foo"
 shell -err -expect "Tag name is ambiguous" \
 	"varnishlog -q Resp"
-shell -err -expect "Expected string got ''" \
-	"varnishlog -q ReqHeader:"
+shell -err -expect "Expected string got '['" \
+	{varnishlog -q "ReqHeader:[]"}
 shell -err -expect "Expected integer got ']'" \
-	"varnishlog -q ReqHeader:foo[]"
+	{varnishlog -q "ReqHeader:foo[]"}
 shell -err -expect "Expected positive integer" \
-	"varnishlog -q ReqHeader:foo[a]"
+	{varnishlog -q "ReqHeader:foo[a]"}
 process p1 -wait
 shell {grep -q "0 CLI" ${tmpdir}/vlog}

More information about the varnish-commit mailing list