git-svn: avoid network timeouts for long-running fetches
[git/git-svn.git] / t / t5520-pull.sh
blobf841574573545fa333e00b6815ba0df7d6931273
1 #!/bin/sh
3 test_description='pulling into void'
5 . ./test-lib.sh
7 D=`pwd`
9 test_expect_success setup '
11 echo file >file &&
12 git add file &&
13 git commit -a -m original
17 test_expect_success 'pulling into void' '
18 mkdir cloned &&
19 cd cloned &&
20 git init-db &&
21 git pull ..
24 cd "$D"
26 test_expect_success 'checking the results' '
27 test -f file &&
28 test -f cloned/file &&
29 diff file cloned/file
32 test_done