tests/test-http-proxy.t
branchstable
changeset 16496 abbabbbe4ec2
parent 16301 de4cb5c42007
child 17075 28ed1c4511ce
--- a/tests/test-http-proxy.t	Mon Apr 23 01:56:48 2012 +0200
+++ b/tests/test-http-proxy.t	Mon Apr 23 01:56:48 2012 +0200
@@ -9,7 +9,7 @@
   $ cat hg.pid >> $DAEMON_PIDS
   $ cd ..
   $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log 2>&1 </dev/null &
-  $ while [ ! -f proxy.pid ]; do true; done
+  $ while [ ! -f proxy.pid ]; do sleep 0; done
   $ cat proxy.pid >> $DAEMON_PIDS
 
 url for proxy, stream