File tree Expand file tree Collapse file tree 1 file changed +15
-20
lines changed Expand file tree Collapse file tree 1 file changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,6 @@ test_description='check svn dumpfile importer'
4
4
5
5
. ./test-lib.sh
6
6
7
- if ! svnadmin -h > /dev/null 2>&1
8
- then
9
- skip_all=' skipping svn-fe tests, svn not available'
10
- test_done
11
- fi
12
-
13
- svnconf=$PWD /svnconf
14
- export svnconf
15
-
16
- svn_cmd () {
17
- subcommand=$1 &&
18
- shift &&
19
- mkdir -p " $svnconf " &&
20
- svn " $subcommand " --config-dir " $svnconf " " $@ "
21
- }
22
-
23
7
reinit_git () {
24
8
rm -fr .git &&
25
9
git init
@@ -41,10 +25,21 @@ test_expect_success 'v3 dumps not supported' '
41
25
test_cmp empty stream
42
26
'
43
27
44
- test_expect_success ' t9135/svn.dump' '
45
- svnadmin create simple-svn &&
46
- svnadmin load simple-svn <"$TEST_DIRECTORY/t9135/svn.dump" &&
47
- svn_cmd export "file://$PWD/simple-svn" simple-svnco &&
28
+ test_expect_success ' set up svn repo' '
29
+ svnconf=$PWD/svnconf &&
30
+ mkdir -p "$svnconf" &&
31
+
32
+ if
33
+ svnadmin -h >/dev/null 2>&1 &&
34
+ svnadmin create simple-svn &&
35
+ svnadmin load simple-svn <"$TEST_DIRECTORY/t9135/svn.dump" &&
36
+ svn export --config-dir "$svnconf" "file://$PWD/simple-svn" simple-svnco
37
+ then
38
+ test_set_prereq SVNREPO
39
+ fi
40
+ '
41
+
42
+ test_expect_success SVNREPO ' t9135/svn.dump' '
48
43
git init simple-git &&
49
44
test-svn-fe "$TEST_DIRECTORY/t9135/svn.dump" >simple.fe &&
50
45
(
You can’t perform that action at this time.
0 commit comments