Adjust to current varnish-cache

parent 96753c5c
......@@ -36,7 +36,7 @@ client c1 {
rxresp
expect resp.status == 200
# Oddly, the BYTES to string conversion results in "16.000".
expect resp.http.Size ~ {^16\D}
expect resp.http.Size ~ {^16\.?}
expect resp.http.Mtime ~ "GMT$"
expect resp.http.Delta-Mtime > 0
expect resp.http.Delta-Mtime < 1
......@@ -52,7 +52,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.http.Size ~ {^3\D}
expect resp.http.Size ~ {^3\.?}
expect resp.http.Mtime ~ "GMT$"
expect resp.http.Delta-Mtime > 0
expect resp.http.Delta-Mtime < 1
......
......@@ -61,9 +61,12 @@ client c1 {
shell {chmod a-r ${tmpdir}/synth}
delay .1
# synth.synth(): vmod file failure: vcl1.synth:
# cannot open .../synth: Permission denied
client c1 {
txreq
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......
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