From 7f25ec00fa4ba93b9879329cb899d892e5be0505 Mon Sep 17 00:00:00 2001 From: David von Oheimb Date: Fri, 26 Jul 2024 15:34:05 +0200 Subject: [PATCH] 80-test_cmp_http.t: make -no_proxy cover the IPv6 case '::1' Fixes 22467 --- test/recipes/80-test_cmp_http.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 62ce1bd169063e..8595a06e605c59 100644 --- a/test/recipes/80-test_cmp_http.t +++ b/test/recipes/80-test_cmp_http.t @@ -256,7 +256,7 @@ sub load_tests { $noproxy = $1; } elsif ($server_host eq "127.0.0.1") { # do connections to localhost (e.g., mock server) without proxy - $line =~ s{-section,,}{-section,,-no_proxy,127.0.0.1,} ; + $line =~ s{-section,,}{-section,,-no_proxy,127.0.0.1 [::1],} ; } if ($line =~ m/,\s*-proxy\s*,/) { next LOOP if $no_proxy && ($noproxy =~ $server_host);