Mercurial > hg
changeset 18595:37479af47bd0
test-inotify.t: migrate to killdaemons from kill `cat pidfile`
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 09 Feb 2013 05:36:19 -0600 |
parents | a9e830ecd9fb |
children | d8cfe29c6b61 |
files | tests/test-check-code-hg.t tests/test-inotify.t |
diffstat | 2 files changed, 3 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-code-hg.t Sat Feb 09 05:35:20 2013 -0600 +++ b/tests/test-check-code-hg.t Sat Feb 09 05:36:19 2013 -0600 @@ -10,15 +10,6 @@ $ 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
--- a/tests/test-inotify.t Sat Feb 09 05:35:20 2013 -0600 +++ b/tests/test-inotify.t Sat Feb 09 05:36:19 2013 -0600 @@ -32,7 +32,7 @@ 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 @@ 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 @@ abort: inotify-server: cannot start: socket is already bound [255] - $ kill `cat hg3.pid` + $ "$TESTDIR/killdaemons.py" hg3.pid