tests/test-https.t
branchstable
changeset 16496 abbabbbe4ec2
parent 16300 74e114ac6ec1
child 16982 9c892c830a72
--- a/tests/test-https.t	Mon Apr 23 01:56:48 2012 +0200
+++ b/tests/test-https.t	Mon Apr 23 01:56:48 2012 +0200
@@ -233,12 +233,12 @@
   $ hg -R copy-pull id https://127.0.0.1:$HGPORT/
   5fed3813f7f5
 
-  $ while kill `cat hg1.pid` 2>/dev/null; do true; done
+  $ while kill `cat hg1.pid` 2>/dev/null; do sleep 0; done
 
 Prepare for connecting through proxy
 
   $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log </dev/null 2>&1 &
-  $ while [ ! -f proxy.pid ]; do true; done
+  $ while [ ! -f proxy.pid ]; do sleep 0; done
   $ cat proxy.pid >> $DAEMON_PIDS
 
   $ echo "[http_proxy]" >> copy-pull/.hg/hgrc