--- a/tests/test-bad-pull
+++ b/tests/test-bad-pull
@@ -1,4 +1,4 @@
-#!/bin/bash -x
+#!/bin/sh -x
hg clone http://localhost:20059/ copy
echo $?
@@ -18,6 +18,7 @@ run()
EOF
python dumb.py 2>/dev/null &
+sleep 2
hg clone http://localhost:20059/foo copy2
echo $?