# HG changeset patch # User Augie Fackler # Date 1360409856 21600 # Node ID d8cfe29c6b612fe6e250afdd7219eb4d461b9e3e # Parent 37479af47bd0aaf73812430f98cbf7341b3746eb test-obsolete.t: migrate to killdaemons from kill `cat pidfile` diff -r 37479af47bd0 -r d8cfe29c6b61 tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t Sat Feb 09 05:36:19 2013 -0600 +++ b/tests/test-check-code-hg.t Sat Feb 09 05:37:36 2013 -0600 @@ -10,10 +10,6 @@ $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \ > || false - tests/test-obsolete.t:0: - > $ kill `cat hg.pid` - don't use kill, use killdaemons.py - don't use kill, use killdaemons.py tests/test-serve.t:0: > > kill `cat hg.pid` don't use kill, use killdaemons.py diff -r 37479af47bd0 -r d8cfe29c6b61 tests/test-obsolete.t --- a/tests/test-obsolete.t Sat Feb 09 05:36:19 2013 -0600 +++ b/tests/test-obsolete.t Sat Feb 09 05:37:36 2013 -0600 @@ -752,7 +752,7 @@ check that web.view config option: - $ kill `cat hg.pid` + $ "$TESTDIR/killdaemons.py" hg.pid $ cat >> .hg/hgrc << EOF > [web] > view=all @@ -761,7 +761,7 @@ $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67' 200 Script output follows - $ kill `cat hg.pid` + $ "$TESTDIR/killdaemons.py" hg.pid Checking _enable=False warning if obsolete marker exists