[6.0] 9b2fbebf5 vtc: Account for [braces] on IPv6-only systems
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Nov 19 10:33:09 UTC 2021
commit 9b2fbebf512e7236d3643f72a5e94b2dd0e0e5bb
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 d3d0cf684..866817f33 100644
--- a/bin/varnishtest/tests/v00025.vtc
+++ b/bin/varnishtest/tests/v00025.vtc
@@ -167,8 +167,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