Mercurial > hg-stable
changeset 31854:9259cf823690
test-http-proxy: add the Windows variant of "connection refused"
The full error is "No connection could be made because the target machine
actively refused it".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 08 Apr 2017 15:06:45 -0400 |
parents | 67ea8e857489 |
children | a418c5837bc0 |
files | tests/test-http-proxy.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-http-proxy.t Sat Apr 08 15:01:49 2017 -0400 +++ b/tests/test-http-proxy.t Sat Apr 08 15:06:45 2017 -0400 @@ -87,7 +87,7 @@ misconfigured hosts) $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f - abort: error: (Connection refused|Protocol not supported) (re) + abort: error: (Connection refused|Protocol not supported|.* actively refused it) (re) [255] do not use the proxy if it is in the no list