[master] 81c913c83 Abstract socket coverage tests
Nils Goroll
nils.goroll at uplex.de
Mon Nov 21 17:11:06 UTC 2022
commit 81c913c833eb24396a8af761195f7225465312af
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Nov 21 17:37:15 2022 +0100
Abstract socket coverage tests
diff --git a/bin/varnishtest/tests/c00121.vtc b/bin/varnishtest/tests/c00121.vtc
index 3155e957e..002a9aca5 100644
--- a/bin/varnishtest/tests/c00121.vtc
+++ b/bin/varnishtest/tests/c00121.vtc
@@ -77,3 +77,15 @@ client c1 -connect "@vtc.v1.sock" {
expect resp.status == 200
expect resp.bodylen == 4
} -run
+
+########################################
+# coverage
+
+varnish v1 -errvcl {Backend path: The empty abstract socket name is not supported} {
+ backend s1 {
+ .path = "@";
+ }
+}
+
+shell -err -expect "Error: Got no socket(s) for @" \
+ "varnishd -n ${tmpdir}/v0 -a @ -b None"
\ No newline at end of file
More information about the varnish-commit
mailing list