File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,32 +17,32 @@ test_expect_success 'setup svnrepo' '
17
17
test_expect_success ' basic clone' '
18
18
test ! -d trunk &&
19
19
git svn clone "$svnrepo"/project/trunk &&
20
- test -d trunk/.git/svn &&
21
- test -e trunk/foo &&
20
+ test_path_is_dir trunk/.git/svn &&
21
+ test_path_exists trunk/foo &&
22
22
rm -rf trunk
23
23
'
24
24
25
25
test_expect_success ' clone to target directory' '
26
26
test ! -d target &&
27
27
git svn clone "$svnrepo"/project/trunk target &&
28
- test -d target/.git/svn &&
29
- test -e target/foo &&
28
+ test_path_is_dir target/.git/svn &&
29
+ test_path_exists target/foo &&
30
30
rm -rf target
31
31
'
32
32
33
33
test_expect_success ' clone with --stdlayout' '
34
34
test ! -d project &&
35
35
git svn clone -s "$svnrepo"/project &&
36
- test -d project/.git/svn &&
37
- test -e project/foo &&
36
+ test_path_is_dir project/.git/svn &&
37
+ test_path_exists project/foo &&
38
38
rm -rf project
39
39
'
40
40
41
41
test_expect_success ' clone to target directory with --stdlayout' '
42
42
test ! -d target &&
43
43
git svn clone -s "$svnrepo"/project target &&
44
- test -d target/.git/svn &&
45
- test -e target/foo &&
44
+ test_path_is_dir target/.git/svn &&
45
+ test_path_exists target/foo &&
46
46
rm -rf target
47
47
'
48
48
You can’t perform that action at this time.
0 commit comments