1PATH=$PWD/../:$PATH
2if test -d ../../../t
3then
4cd ../../../t
5else
6echo "Must be run in contrib/git-svn/t" >&2
7exit 1
8fi
910
. ./test-lib.sh
1112
GIT_DIR=$PWD/.git
13GIT_SVN_DIR=$GIT_DIR/git-svn
14SVN_TREE=$GIT_SVN_DIR/tree
1516
svnadmin >/dev/null 2>&1
17if test $? != 1
18then
19test_expect_success 'skipping contrib/git-svn test' :
20test_done
21exit
22fi
2324
svn >/dev/null 2>&1
25if test $? != 1
26then
27test_expect_success 'skipping contrib/git-svn test' :
28test_done
29exit
30fi
3132
svnrepo=$PWD/svnrepo
3334
set -e
3536
svnadmin create $svnrepo
37svnrepo="file://$svnrepo/test-git-svn"
3839