tests/test-http-proxy.t
branchstable
changeset 30851 7bfe02b57695
parent 30763 a520aefb96f1
child 31854 9259cf823690
--- a/tests/test-http-proxy.t	Fri Jan 20 21:33:18 2017 +0900
+++ b/tests/test-http-proxy.t	Fri Jan 20 10:17:34 2017 -0500
@@ -83,10 +83,11 @@
   updating to branch default
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
-bad host:port for proxy
+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
+  abort: error: (Connection refused|Protocol not supported) (re)
   [255]
 
 do not use the proxy if it is in the no list