Mercurial > hg > gitweb
comparison 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 |
comparison
equal
deleted
inserted
replaced
4316:6e4334be0aaa | 4317:66249be9aa23 |
---|---|
18 EOF | 18 EOF |
19 | 19 |
20 python dumb.py 2>/dev/null & | 20 python dumb.py 2>/dev/null & |
21 echo $! >> $DAEMON_PIDS | 21 echo $! >> $DAEMON_PIDS |
22 | 22 |
23 # give the server some time to start running | |
24 sleep 1 | |
25 | |
23 http_proxy= hg clone http://localhost:20059/foo copy2 2>&1 | \ | 26 http_proxy= hg clone http://localhost:20059/foo copy2 2>&1 | \ |
24 sed -e 's/404.*/404/' -e 's/Date:.*/Date:/' | 27 sed -e 's/404.*/404/' -e 's/Date:.*/Date:/' |
25 echo $? | 28 echo $? |
26 | 29 |
27 kill $! | 30 kill $! |