exit
fi
+perl -e 'use SVN::Core; $SVN::Core::VERSION gt "1.1.0" or die' >/dev/null 2>&1
+if test $? -ne 0
+then
+ test_expect_success 'Perl SVN libraries not found, skipping test' :
+ test_done
+ exit
+fi
+
GIT_DIR=$PWD/.git
GIT_SVN_DIR=$GIT_DIR/svn/git-svn
SVN_TREE=$GIT_SVN_DIR/svn-tree
svnadmin >/dev/null 2>&1
-if test $? != 1
+if test $? -ne 1
then
test_expect_success 'skipping git-svn tests, svnadmin not found' :
test_done
fi
svn >/dev/null 2>&1
-if test $? != 1
+if test $? -ne 1
then
test_expect_success 'skipping git-svn tests, svn not found' :
test_done
svnadmin create "$svnrepo"
fi
-svnrepo="file://$svnrepo/test-git-svn"
+svnrepo="file://$svnrepo"