[master] 808a8dd04 Collapse vcl coverage tests
Nils Goroll
nils.goroll at uplex.de
Fri Aug 16 10:42:06 UTC 2024
commit 808a8dd040ceb8466118d54c8cd03bd0bb2ba279
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri Aug 16 12:38:35 2024 +0200
Collapse vcl coverage tests
this almost halves runtime of the test case
diff --git a/bin/varnishtest/tests/v00019.vtc b/bin/varnishtest/tests/v00019.vtc
index 944405999..76ce7e85b 100644
--- a/bin/varnishtest/tests/v00019.vtc
+++ b/bin/varnishtest/tests/v00019.vtc
@@ -76,49 +76,20 @@ varnish v1 -vcl {
if ("string" != "string") {
return (fail("should load"));
}
- }
-} -start
-
-varnish v1 -vcl {
- import debug;
- backend be none;
- sub vcl_init {
if ("string" != debug.return_strands("string")) {
return (fail("should load"));
}
- }
-}
-
-varnish v1 -vcl {
- import debug;
- backend be none;
- sub vcl_init {
if (debug.return_strands("string") != "string") {
return (fail("should load"));
}
- }
-}
-
-varnish v1 -vcl {
- import debug;
- backend be none;
- sub vcl_init {
if (debug.return_strands("string") != debug.return_strands("string")) {
return (fail("should load"));
}
- }
-}
-
-# regression test #4146
-varnish v1 -vcl {
- import debug;
- backend be none;
- sub vcl_init {
if (! debug.is_null_strands(debug.return_strands(debug.return_null_strands()))) {
return (fail("should load"));
}
}
-}
+} -start
varnish v1 -errvcl {Symbol not found: 'req.http.req.http.foo'} {
backend b { .host = "${localhost}"; }
More information about the varnish-commit
mailing list