repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'maint'
[git.git]
/
t
/
t5520-pull.sh
blob
7eb37838bb788dfb68361bca95860fd532276deb
1
#!/bin/sh
2
3
test_description
=
'pulling into void'
4
5
. .
/
test-lib.sh
6
7
D
=
`pwd`
8
9
test_expect_success setup
'
10
11
echo file >file &&
12
git add file &&
13
git commit -a -m original
14
15
'
16
17
test_expect_success
'pulling into void'
'
18
mkdir cloned &&
19
cd cloned &&
20
git init &&
21
git pull ..
22
'
23
24
cd
"
$D
"
25
26
test_expect_success
'checking the results'
'
27
test -f file &&
28
test -f cloned/file &&
29
diff file cloned/file
30
'
31
32
test_done
33