test: use 'killdaemons.py' from the run-tests directory
This is a step toward not shipping our own test runners and relying on the
official Mercurial one.
--- a/tests/test-simple4server-bundle2.t Mon Nov 02 00:39:40 2015 +0000
+++ b/tests/test-simple4server-bundle2.t Mon Nov 02 11:04:44 2015 +0000
@@ -140,7 +140,7 @@
$ echo '[__temporary__]' >> server/.hg/hgrc
$ echo 'advertiseobsolete=False' >> server/.hg/hgrc
- $ $TESTDIR/killdaemons.py $DAEMON_PIDS
+ $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
$ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
$ cat hg.pid >> $DAEMON_PIDS
@@ -150,7 +150,7 @@
phases
$ echo 'advertiseobsolete=True' >> server/.hg/hgrc
- $ $TESTDIR/killdaemons.py $DAEMON_PIDS
+ $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
$ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
$ cat hg.pid >> $DAEMON_PIDS
--- a/tests/test-simple4server.t Mon Nov 02 00:39:40 2015 +0000
+++ b/tests/test-simple4server.t Mon Nov 02 11:04:44 2015 +0000
@@ -143,7 +143,7 @@
$ echo '[__temporary__]' >> server/.hg/hgrc
$ echo 'advertiseobsolete=False' >> server/.hg/hgrc
- $ $TESTDIR/killdaemons.py $DAEMON_PIDS
+ $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
$ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
$ cat hg.pid >> $DAEMON_PIDS
@@ -157,7 +157,7 @@
[1]
$ echo 'advertiseobsolete=True' >> server/.hg/hgrc
- $ $TESTDIR/killdaemons.py $DAEMON_PIDS
+ $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
$ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
$ cat hg.pid >> $DAEMON_PIDS