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>
This commit is contained in:
parent
cd9a7b57a7
commit
b0ad24be8c
@ -2,7 +2,17 @@
|
||||
|
||||
test_description='check svn dumpfile importer'
|
||||
|
||||
. ./lib-git-svn.sh
|
||||
. ./test-lib.sh
|
||||
|
||||
svnconf=$PWD/svnconf
|
||||
export svnconf
|
||||
|
||||
svn_cmd () {
|
||||
subcommand=$1 &&
|
||||
shift &&
|
||||
mkdir -p "$svnconf" &&
|
||||
svn "$subcommand" --config-dir "$svnconf" "$@"
|
||||
}
|
||||
|
||||
test_dump () {
|
||||
label=$1
|
||||
|
Loading…
Reference in New Issue
Block a user