diff tests/test-fetch @ 7344:58fd3c718ca4

tests: add killdaemons helper script
author Matt Mackall <mpm@selenic.com>
date Fri, 07 Nov 2008 16:28:53 -0600
parents 6489ee64b522
children aa1a87f7544f
line wrap: on
line diff
--- a/tests/test-fetch	Fri Nov 07 16:28:52 2008 -0600
+++ b/tests/test-fetch	Fri Nov 07 16:28:53 2008 -0600
@@ -37,6 +37,7 @@
 hg --cwd c fetch -d '4 0' -m 'automated merge' ../a
 ls c
 
+netstat -tnap 2>/dev/null | grep $HGPORT | grep LISTEN
 hg --cwd a serve -a localhost -p $HGPORT -d --pid-file=hg.pid
 cat a/hg.pid >> "$DAEMON_PIDS"
 
@@ -169,4 +170,6 @@
 hg -R n2 parents --template '{rev}\n'
 rm -fr n1 n2
 
+"$TESTDIR/killdaemons.py"
+
 true