[6.0] 964d8b784 Try to get this test running on SunOS
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Feb 8 12:31:12 UTC 2019
commit 964d8b784d48a54366cb8e1582b076bb196c94f4
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