[master] fc95898d9 Fix the out-of-workspace tests for VMOD blob.
Geoff Simmons
geoff at uplex.de
Wed Jul 18 09:42:06 UTC 2018
commit fc95898d97fc4c205f739f2397040f12ac65b2c6
Author: Geoff Simmons <geoff at uplex.de>
Date: Wed Jul 18 11:40:25 2018 +0200
Fix the out-of-workspace tests for VMOD blob.
The error may be status 500 on 32-bit systems.
diff --git a/bin/varnishtest/tests/m00049.vtc b/bin/varnishtest/tests/m00049.vtc
index f94f5afc6..81e0ff530 100644
--- a/bin/varnishtest/tests/m00049.vtc
+++ b/bin/varnishtest/tests/m00049.vtc
@@ -39,27 +39,31 @@ varnish v1 -vcl {
client c1 {
txreq -url "/1"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/2"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/3"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/4"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
More information about the varnish-commit
mailing list