[master] 5f07720a2 Make v1.vtc vcls syntactically correct
Nils Goroll
nils.goroll at uplex.de
Tue Feb 2 12:15:07 UTC 2021
commit 5f07720a2760551fca79a9a8abae294b55d26c09
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Feb 2 13:11:42 2021 +0100
Make v1.vtc vcls syntactically correct
besides the incorrect bits we want to check for.
Ref c4ec4712feb7615c6015272fb2b5d01069de4e8b
Exposed by #3163
diff --git a/bin/varnishtest/tests/v00001.vtc b/bin/varnishtest/tests/v00001.vtc
index e31596934..1abed8076 100644
--- a/bin/varnishtest/tests/v00001.vtc
+++ b/bin/varnishtest/tests/v00001.vtc
@@ -1,18 +1,22 @@
varnishtest "VCL/VRT: url/request/proto/reason/status"
varnish v1 -errvcl "Variable is read only" {
+ backend proforma None;
sub vcl_deliver { set req.proto = "HTTP/1.2"; }
}
varnish v1 -errvcl "Variable is read only" {
+ backend proforma None;
sub vcl_deliver { set resp.proto = "HTTP/1.2"; }
}
varnish v1 -errvcl "Variable is read only" {
+ backend proforma None;
sub vcl_backend_response { set bereq.proto = "HTTP/1.2"; }
}
varnish v1 -errvcl "Variable is read only" {
+ backend proforma None;
sub vcl_backend_response { set beresp.proto = "HTTP/1.2"; }
}
More information about the varnish-commit
mailing list