tests/test-http
changeset 6262 de7256c82fad
parent 5384 e3a0c092b4e2
child 6263 573534c6b540
--- a/tests/test-http	Fri Mar 14 22:12:50 2008 +0100
+++ b/tests/test-http	Mon Mar 10 19:25:34 2008 +0000
@@ -9,7 +9,7 @@
 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid
 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid
 # Test server address cannot be reused
-hg serve -p $HGPORT1 2>&1 | sed -e 's/abort: cannot start server:.*/abort: cannot start server:/'
+hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':$HGPORT1':/"
 cd ..
 cat hg1.pid hg2.pid >> $DAEMON_PIDS