Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
10397:8cb81d75730c | 10398:ace3cf2bc991 |
---|---|
14 hg ci -mb | 14 hg ci -mb |
15 | 15 |
16 req() { | 16 req() { |
17 hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log | 17 hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log |
18 cat hg.pid >> $DAEMON_PIDS | 18 cat hg.pid >> $DAEMON_PIDS |
19 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,' | 19 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/," |
20 kill `cat hg.pid` | 20 kill `cat hg.pid` |
21 echo % serve errors | 21 echo % serve errors |
22 cat errors.log | 22 cat errors.log |
23 } | 23 } |
24 | 24 |