--- a/tests/test-hgweb-raw.t Mon Apr 23 01:56:48 2012 +0200
+++ b/tests/test-hgweb-raw.t Mon Apr 23 01:56:48 2012 +0200
@@ -20,7 +20,7 @@
$ cat hg.pid >> $DAEMON_PIDS
$ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?f=a23bf1310f6e;file=sub/some%20%22text%22.txt;style=raw' content-type content-length content-disposition) >getoutput.txt
- $ while kill `cat hg.pid` 2>/dev/null; do true; done
+ $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done
$ cat getoutput.txt
200 Script output follows
@@ -41,7 +41,7 @@
$ cat hg.pid >> $DAEMON_PIDS
$ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?f=a23bf1310f6e;file=sub/some%20%22text%22.txt;style=raw' content-type content-length content-disposition) >getoutput.txt
- $ while kill `cat hg.pid` 2>/dev/null; do true; done
+ $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done
$ cat getoutput.txt
200 Script output follows