comparison 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
comparison
equal deleted inserted replaced
16495:5f9835ed3d6d 16496:abbabbbe4ec2
18 > run() 18 > run()
19 > EOF 19 > EOF
20 20
21 $ python dumb.py 2> log & 21 $ python dumb.py 2> log &
22 $ P=$! 22 $ P=$!
23 $ while [ ! -f listening ]; do true; done 23 $ while [ ! -f listening ]; do sleep 0; done
24 $ hg clone http://localhost:$HGPORT/foo copy2 24 $ hg clone http://localhost:$HGPORT/foo copy2
25 abort: HTTP Error 404: * (glob) 25 abort: HTTP Error 404: * (glob)
26 [255] 26 [255]
27 $ wait $P 27 $ wait $P