Fix typo in tutorial-2.txt
[git/gitweb.git] / contrib / git-svn / t / lib-git-svn.sh
bloba98e9d164dd603f8fc00e216798bc4ecbf48e934
1 PATH=$PWD/../:$PATH
2 if test -d ../../../t
3 then
4 cd ../../../t
5 else
6 echo "Must be run in contrib/git-svn/t" >&2
7 exit 1
8 fi
10 . ./test-lib.sh
12 GIT_DIR=$PWD/.git
13 GIT_SVN_DIR=$GIT_DIR/git-svn
14 SVN_TREE=$GIT_SVN_DIR/tree
16 svnadmin >/dev/null 2>&1
17 if test $? != 1
18 then
19 test_expect_success 'skipping contrib/git-svn test' :
20 test_done
21 exit
24 svn >/dev/null 2>&1
25 if test $? != 1
26 then
27 test_expect_success 'skipping contrib/git-svn test' :
28 test_done
29 exit
32 svnrepo=$PWD/svnrepo
34 set -e
36 svnadmin create $svnrepo
37 svnrepo="file://$svnrepo/test-git-svn"