Mercurial > hg
changeset 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 | 6e4334be0aaa |
children | b95a42114616 |
files | tests/test-bad-pull |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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 $?