# HG changeset patch # User Dirkjan Ochtman # Date 1206050333 -3600 # Node ID 627665e37bdd773731bb262969f8f3b446e58568 # Parent 4e836769d93cdbfc974c07886ebcff00b419fc83 fix test-serve breakage for other hostnames diff -r 4e836769d93c -r 627665e37bdd tests/test-serve --- a/tests/test-serve Thu Mar 20 22:41:40 2008 +0100 +++ b/tests/test-serve Thu Mar 20 22:58:53 2008 +0100 @@ -3,7 +3,7 @@ hgserve() { hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v $@ \ - | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' + | sed -e 's/:[0-9][0-9]*//g' -e 's/http:\/\/[^/]*\//http:\/\/localhost\//' cat hg.pid >> "$DAEMON_PIDS" sleep 1 kill `cat hg.pid`