Commit d96f1c49 authored by Geoff Simmons's avatar Geoff Simmons

test the error messages in max_mem.vtc more precisely

parent 1b48ffc3
...@@ -68,7 +68,7 @@ client c1 { ...@@ -68,7 +68,7 @@ client c1 {
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" { logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
expect 0 * Begin req expect 0 * Begin req
expect * = VCL_Error "^vmod re2 error: re2.match.pattern=...1000.x., text=.c+" expect * = VCL_Error "^vmod re2 error: re2.match.pattern=...1000.x., text=.c+..: Cannot compile: pattern too large - compile failed$"
expect * = End expect * = End
} -run } -run
...@@ -133,7 +133,7 @@ varnish v1 -vcl { ...@@ -133,7 +133,7 @@ varnish v1 -vcl {
logexpect l2 -v v1 -d 0 -g vxid -q "VCL_Error" { logexpect l2 -v v1 -d 0 -g vxid -q "VCL_Error" {
expect 0 * Begin req expect 0 * Begin req
expect * = VCL_Error "^vmod re2 error: re2.sub.pattern=...1000.x., text=.c+" expect * = VCL_Error "^vmod re2 error: re2.sub.pattern=...1000.x., text=.c+.., rewrite=.z., fallback=.fallback..: Cannot compile '..1000.x': pattern too large - compile failed$"
expect * = End expect * = End
} -start } -start
...@@ -166,7 +166,7 @@ varnish v1 -vcl { ...@@ -166,7 +166,7 @@ varnish v1 -vcl {
logexpect l3 -v v1 -d 0 -g vxid -q "VCL_Error" { logexpect l3 -v v1 -d 0 -g vxid -q "VCL_Error" {
expect 0 * Begin req expect 0 * Begin req
expect * = VCL_Error "^vmod re2 error: re2.suball.pattern=...1000.x., text=.c+" expect * = VCL_Error "^vmod re2 error: re2.suball.pattern=...1000.x., text=.c+.., rewrite=.z., fallback=.fallback..: Cannot compile '..1000.x': pattern too large - compile failed$"
expect * = End expect * = End
} -start } -start
...@@ -199,7 +199,7 @@ varnish v1 -vcl { ...@@ -199,7 +199,7 @@ varnish v1 -vcl {
logexpect l4 -v v1 -d 0 -g vxid -q "VCL_Error" { logexpect l4 -v v1 -d 0 -g vxid -q "VCL_Error" {
expect 0 * Begin req expect 0 * Begin req
expect * = VCL_Error "^vmod re2 error: re2.extract.pattern=...1000.x., text=.c+" expect * = VCL_Error "^vmod re2 error: re2.extract.pattern=...1000.x., text=.c+.., rewrite=.z., fallback=.fallback..: Cannot compile '..1000.x': pattern too large - compile failed$"
expect * = End expect * = End
} -start } -start
......
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