Mercurial > hg
diff tests/test-hgweb-raw.t @ 18589:91aac2797c40
test-hgweb-raw.t: use killdaemons instead of kill `cat pidfile`
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 09 Feb 2013 05:29:10 -0600 |
parents | 953faba28e91 |
children | 7a9cbb315d84 |
line wrap: on
line diff
--- 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