Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http-proxy @ 7268:e05092a3c2fe
test-http-proxy: hide logged URL port number, works with--jobs
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 27 Oct 2008 23:47:17 +0100 |
parents | 7e963c80bbe6 |
children | 9105467b8167 |
line wrap: on
line diff
--- a/tests/test-http-proxy Mon Oct 27 22:57:55 2008 +0100 +++ b/tests/test-http-proxy Mon Oct 27 23:47:17 2008 +0100 @@ -38,5 +38,5 @@ echo %% bad host:port for proxy http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f -cat proxy.log | sed -e 's/^.*\] /XXX /' +cat proxy.log | sed -e 's/^.*\] /XXX /' -e 's/:[0-9][0-9]*/:/' exit 0