diff tests/test-http-proxy @ 7919:3e6206967570

Backed out changeset 490e40816cbd The difference came from a configuration difference (network unreachable vs. connection refused), not from an OS change.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 30 Mar 2009 01:23:01 +0200
parents 490e40816cbd
children
line wrap: on
line diff
--- a/tests/test-http-proxy	Fri Feb 27 17:28:26 2009 -0800
+++ b/tests/test-http-proxy	Mon Mar 30 01:23:01 2009 +0200
@@ -36,8 +36,7 @@
 http_proxy=http://user:passwd@localhost:$HGPORT1 hg clone --config http_proxy.always=True http://user:passwd@localhost:$HGPORT/ e
 
 echo %% bad host:port for proxy
-http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f 2>&1 | \
-	sed 's/error:.*/error:/'
+http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f
 
 echo %% do not use the proxy if it is in the no list
 http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g