diff tests/test-bad-pull.t @ 16496:abbabbbe4ec2 stable

tests: use 'do sleep 0' instead of 'do true', also on first line of command f64b25f147d7 established that '... do true ...' shouldn't be used, but that was only enforced on continued lines.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 23 Apr 2012 01:56:48 +0200
parents 91eec29dd7de
children 5d0538599428
line wrap: on
line diff
--- a/tests/test-bad-pull.t	Mon Apr 23 01:56:48 2012 +0200
+++ b/tests/test-bad-pull.t	Mon Apr 23 01:56:48 2012 +0200
@@ -20,7 +20,7 @@
 
   $ python dumb.py 2> log &
   $ P=$!
-  $ while [ ! -f listening ]; do true; done
+  $ while [ ! -f listening ]; do sleep 0; done
   $ hg clone http://localhost:$HGPORT/foo copy2
   abort: HTTP Error 404: * (glob)
   [255]