Commit 3f3e220c authored by Nils Goroll's avatar Nils Goroll Committed by Dridi Boukelmoune

fix logexpect syntax in some vtcs

The syntax is

	expect <skip> <vxid> <tag> <regex>

Also remove some bogus .*$ from regexen (waving to @slimhazard)
parent 94de5c6d
......@@ -23,7 +23,7 @@ varnish v1 -vcl+backend {
} -start
logexpect l1 -v v1 -g vxid {
expect 1003 * HitMiss "^1002 119.*$"
expect * 1003 HitMiss "^1002 119"
} -start
client c1 {
......
......@@ -30,7 +30,7 @@ varnish v1 -vcl+backend {
} -start
logexpect l1 -v v1 -g vxid {
expect 1003 * HitPass "^1002 1.*$"
expect * 1003 HitPass "^1002 1"
} -start
client c1 {
......
......@@ -24,7 +24,7 @@ varnish v1 -vcl+backend {
# Tests logging hit-for-miss on an expired object
logexpect l1 -v v1 -g vxid {
expect 1003 * HitMiss "^1002 -.*$"
expect * 1003 HitMiss "^1002 -"
} -start
client c1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment