Mercurial > hg
diff tests/test-bad-pull @ 4317:66249be9aa23
test-bad-pull: try to avoid timing-related failures
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 07 Apr 2007 04:27:55 -0300 |
parents | 33b6c8193652 |
children | e3a0c092b4e2 |
line wrap: on
line diff
--- a/tests/test-bad-pull Sat Apr 07 04:27:55 2007 -0300 +++ b/tests/test-bad-pull Sat Apr 07 04:27:55 2007 -0300 @@ -20,6 +20,9 @@ python dumb.py 2>/dev/null & echo $! >> $DAEMON_PIDS +# give the server some time to start running +sleep 1 + http_proxy= hg clone http://localhost:20059/foo copy2 2>&1 | \ sed -e 's/404.*/404/' -e 's/Date:.*/Date:/' echo $?