3 if test -n "$NO_SVN_TESTS"
5 test_expect_success 'skipping git-svn tests, NO_SVN_TESTS defined' :
11 GIT_SVN_DIR=$GIT_DIR/svn/git-svn
12 SVN_TREE=$GIT_SVN_DIR/svn-tree
14 perl -e 'use SVN::Core' >/dev/null 2>&1
17 echo 'Perl SVN libraries not found, tests requiring those will be skipped'
21 svnadmin >/dev/null 2>&1
24 test_expect_success 'skipping git-svn tests, svnadmin not found' :
32 test_expect_success 'skipping git-svn tests, svn not found' :
41 if svnadmin create --help | grep fs-type >/dev/null
43 svnadmin create --fs-type fsfs "$svnrepo"
45 svnadmin create "$svnrepo"
48 svnrepo="file://$svnrepo/test-git-svn"