t9010 (svn-fe): Eliminate dependency on svn perl bindings
[gitweb.git] / t / t9010-svn-fe.sh
index a713dfc50bdd69878bb837b28e9f6c61c85f366a..fd851a408be8010283dcb195feaa613e263b5b79 100755 (executable)
@@ -2,9 +2,19 @@
 
 test_description='check svn dumpfile importer'
 
-. ./lib-git-svn.sh
+. ./test-lib.sh
 
-test_dump() {
+svnconf=$PWD/svnconf
+export svnconf
+
+svn_cmd () {
+       subcommand=$1 &&
+       shift &&
+       mkdir -p "$svnconf" &&
+       svn "$subcommand" --config-dir "$svnconf" "$@"
+}
+
+test_dump () {
        label=$1
        dump=$2
        test_expect_success "$dump" '