diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t +++ b/tests/test-check-code-hg.t @@ -10,15 +10,6 @@ New errors are not allowed. Warnings are $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \ > || false - tests/test-inotify.t:0: - > $ kill `cat ../hg2.pid` - don't use kill, use killdaemons.py - tests/test-inotify.t:0: - > $ kill `cat hg.pid` - don't use kill, use killdaemons.py - tests/test-inotify.t:0: - > $ kill `cat hg3.pid` - don't use kill, use killdaemons.py tests/test-obsolete.t:0: > $ kill `cat hg.pid` don't use kill, use killdaemons.py diff --git a/tests/test-inotify.t b/tests/test-inotify.t --- a/tests/test-inotify.t +++ b/tests/test-inotify.t @@ -32,7 +32,7 @@ and make sure that inotify.pidfile works make sure that pidfile worked. Output should be silent. - $ kill `cat ../hg2.pid` + $ "$TESTDIR/killdaemons.py" ../hg2.pid $ cd ../repo1 inserve @@ -157,7 +157,7 @@ Now, lets add some build products... build/x & build/y shouldn't appear in "hg st" $ hg st - $ kill `cat hg.pid` + $ "$TESTDIR/killdaemons.py" hg.pid $ cd .. @@ -179,4 +179,4 @@ Trying to start the server a second time abort: inotify-server: cannot start: socket is already bound [255] - $ kill `cat hg3.pid` + $ "$TESTDIR/killdaemons.py" hg3.pid