[master] cce142056 vtc: Account for [braces] on IPv6-only systems
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Nov 15 17:52:05 UTC 2021
commit cce142056e88d431ca34487dd5d95c206b3b5f0c
Author: Dridi Boukelmoune <dridi.boukelmoune at 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
More information about the varnish-commit
mailing list