Mailing List Archive

[master] cce142056 vtc: Account for [braces] on IPv6-only systems
commit cce142056e88d431ca34487dd5d95c206b3b5f0c
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Mon Nov 15 18:39:53 2021 +0100

vtc: Account for [braces] on IPv6-only systems

diff --git a/bin/varnishtest/tests/v00025.vtc b/bin/varnishtest/tests/v00025.vtc
index 790f24873..c6cdadd8f 100644
--- a/bin/varnishtest/tests/v00025.vtc
+++ b/bin/varnishtest/tests/v00025.vtc
@@ -174,8 +174,8 @@ client c1 {
expect resp.http.C-Sess-XID ~ "^[0-9]+$"
expect resp.http.B-Sess-XID ~ "^[0-9]+$"
expect resp.http.C-Sess-XID == resp.http.B-Sess-XID
- expect resp.http.C-Endpoint == "${v1_addr}:${v1_port}"
- expect resp.http.B-Endpoint == "${v1_addr}:${v1_port}"
+ expect resp.http.C-Endpoint ~ ".?${v1_addr}.?:${v1_port}"
+ expect resp.http.B-Endpoint ~ ".?${v1_addr}.?:${v1_port}"
expect resp.http.C-Socket == "a0"
expect resp.http.B-Socket == "a0"
} -run
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit