1#!/bin/sh
23
test_description='pulling into void'
45
. ./test-lib.sh
67
D=`pwd`
89
test_expect_success setup '
1011
echo file >file &&
12git add file &&
13git commit -a -m original
1415
'
1617
test_expect_success 'pulling into void' '
18mkdir cloned &&
19cd cloned &&
20git init-db &&
21git pull ..
22'
2324
cd "$D"
2526
test_expect_success 'checking the results' '
27test -f file &&
28test -f cloned/file &&
29diff file cloned/file
30'
3132
test_done
33