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".
This commit is contained in:
Matt Harbison 2017-04-08 15:06:45 -04:00
parent 310cda4966
commit 607717e9c3

View File

@ -87,7 +87,7 @@ bad host:port for proxy ("Protocol not supported" can happen on
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