Adjust to current varnish-cache

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