[master] ab2f26c20 vtc: Account for [braces] on IPv6-only systems
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Nov 23 12:31:13 UTC 2021
commit ab2f26c20738f98a288112fe3da5ac4773a10867
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