summaryrefslogtreecommitdiff
path: root/contrib/git-svn/t/lib-git-svn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/git-svn/t/lib-git-svn.sh')
-rw-r--r--contrib/git-svn/t/lib-git-svn.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/git-svn/t/lib-git-svn.sh b/contrib/git-svn/t/lib-git-svn.sh
index 2843258fc4..d7f972a0c8 100644
--- a/contrib/git-svn/t/lib-git-svn.sh
+++ b/contrib/git-svn/t/lib-git-svn.sh
@@ -33,7 +33,13 @@ svnrepo=$PWD/svnrepo
set -e
-svnadmin create $svnrepo
+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"