aboutsummaryrefslogtreecommitdiff
path: root/contrib/git-svn/t/lib-git-svn.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-06 00:14:16 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-06 17:02:47 -0700
commit60d02ccc18408e54ace8692532fcc73d4035b3c2 (patch)
tree9a1b0168d492f19c35aa6aaa6d6c3ddd23d907eb /contrib/git-svn/t/lib-git-svn.sh
parentc31cfb3db3decf36874273a97f54f3d597e98efe (diff)
downloadgit-60d02ccc18408e54ace8692532fcc73d4035b3c2.tar.gz
git-60d02ccc18408e54ace8692532fcc73d4035b3c2.tar.xz
git-svn: migrate out of contrib
Allow NO_SVN_TESTS to be defined to skip git-svn tests. These tests are time-consuming due to SVN being slow, and even more so if SVN Perl libraries are not available. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/git-svn/t/lib-git-svn.sh')
-rw-r--r--contrib/git-svn/t/lib-git-svn.sh45
1 files changed, 0 insertions, 45 deletions
diff --git a/contrib/git-svn/t/lib-git-svn.sh b/contrib/git-svn/t/lib-git-svn.sh
deleted file mode 100644
index d7f972a0c..000000000
--- a/contrib/git-svn/t/lib-git-svn.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-PATH=$PWD/../:$PATH
-if test -d ../../../t
-then
- cd ../../../t
-else
- echo "Must be run in contrib/git-svn/t" >&2
- exit 1
-fi
-
-. ./test-lib.sh
-
-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
-then
- test_expect_success 'skipping contrib/git-svn test' :
- test_done
- exit
-fi
-
-svn >/dev/null 2>&1
-if test $? != 1
-then
- test_expect_success 'skipping contrib/git-svn test' :
- test_done
- exit
-fi
-
-svnrepo=$PWD/svnrepo
-
-set -e
-
-if svnadmin create --help | grep fs-type >/dev/null
-then
- svnadmin create --fs-type fsfs "$svnrepo"
-else
- svnadmin create "$svnrepo"
-fi
-
-svnrepo="file://$svnrepo/test-git-svn"
-
-