##// END OF EJS Templates
fix test-serve breakage for other hostnames
Dirkjan Ochtman -
r6331:627665e3 default
parent child Browse files
Show More
@@ -3,7 +3,7 b''
3 hgserve()
3 hgserve()
4 {
4 {
5 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v $@ \
5 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v $@ \
6 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/'
6 | sed -e 's/:[0-9][0-9]*//g' -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
7 cat hg.pid >> "$DAEMON_PIDS"
7 cat hg.pid >> "$DAEMON_PIDS"
8 sleep 1
8 sleep 1
9 kill `cat hg.pid`
9 kill `cat hg.pid`
General Comments 0
You need to be logged in to leave comments. Login now