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);