Mercurial > hg
diff tests/test-push-http @ 10398:ace3cf2bc991
tests: don't just silently strip port numbers
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 08 Feb 2010 02:53:41 +0100 |
parents | 6c82beaaa11a |
children | c37f35d7f2f5 |
line wrap: on
line diff
--- a/tests/test-push-http Sun Feb 07 10:47:54 2010 -0500 +++ b/tests/test-push-http Mon Feb 08 02:53:41 2010 +0100 @@ -16,7 +16,7 @@ req() { hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log cat hg.pid >> $DAEMON_PIDS - hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,' + hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," kill `cat hg.pid` echo % serve errors cat errors.log