Skip to content

Commit b0ad24b

Browse files
artagnongitster
authored andcommitted
t9010 (svn-fe): Eliminate dependency on svn perl bindings
Running test t9010 without the SVN:: perl modules currently errors out, for no good reason. We can make these tests easier to read and run by not using the perl libsvn bindings and instead duplicating only the relevant code from lib-git-svn.sh. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cd9a7b5 commit b0ad24b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

t/t9010-svn-fe.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22

33
test_description='check svn dumpfile importer'
44

5-
. ./lib-git-svn.sh
5+
. ./test-lib.sh
66

7-
test_dump() {
7+
svnconf=$PWD/svnconf
8+
export svnconf
9+
10+
svn_cmd () {
11+
subcommand=$1 &&
12+
shift &&
13+
mkdir -p "$svnconf" &&
14+
svn "$subcommand" --config-dir "$svnconf" "$@"
15+
}
16+
17+
test_dump () {
818
label=$1
919
dump=$2
1020
test_expect_success "$dump" '

0 commit comments

Comments
 (0)