# HG changeset patch # User Augie Fackler # Date 1360409350 21600 # Node ID 91aac2797c40f076d320cbcd4469bd165d389aa6 # Parent 3241fc65e3cdfbede608d0a536523e496ece320b test-hgweb-raw.t: use killdaemons instead of kill `cat pidfile` diff -r 3241fc65e3cd -r 91aac2797c40 tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t Sat Feb 09 05:26:16 2013 -0600 +++ b/tests/test-check-code-hg.t Sat Feb 09 05:29:10 2013 -0600 @@ -10,10 +10,6 @@ $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \ > || false - tests/test-hgweb-raw.t:0: - > $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done - don't use kill, use killdaemons.py - don't use kill, use killdaemons.py tests/test-inotify-debuginotify.t:0: > $ kill `cat hg.pid` don't use kill, use killdaemons.py diff -r 3241fc65e3cd -r 91aac2797c40 tests/test-hgweb-raw.t --- a/tests/test-hgweb-raw.t Sat Feb 09 05:26:16 2013 -0600 +++ b/tests/test-hgweb-raw.t Sat Feb 09 05:29:10 2013 -0600 @@ -19,7 +19,7 @@ $ cat hg.pid >> $DAEMON_PIDS $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt - $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done + $ "$TESTDIR/killdaemons.py" hg.pid $ cat getoutput.txt 200 Script output follows @@ -40,7 +40,7 @@ $ cat hg.pid >> $DAEMON_PIDS $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt - $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done + $ "$TESTDIR/killdaemons.py" hg.pid $ cat getoutput.txt 200 Script output follows