From e17aa8a9dca972ca278dd91a097873101066e964 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Thu, 6 Jan 2011 18:29:23 +0000 Subject: [PATCH] t9157-*.sh: Add an svn version check Acked-by: Eric Wong Acked-by: Steven Walter Signed-off-by: Ramsay Jones --- t/t9157-git-svn-fetch-merge.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t9157-git-svn-fetch-merge.sh b/t/t9157-git-svn-fetch-merge.sh index da582c538..accf61eb0 100755 --- a/t/t9157-git-svn-fetch-merge.sh +++ b/t/t9157-git-svn-fetch-merge.sh @@ -6,6 +6,14 @@ test_description='git svn merge detection' . ./lib-git-svn.sh +svn_ver="$(svn --version --quiet)" +case $svn_ver in +[0-1].[0-4].[0-6]) + skip_all="skipping git-svn test - SVN too old ($svn_ver)" + test_done + ;; +esac + test_expect_success 'initialize source svn repo' ' svn_cmd mkdir -m x "$svnrepo"/trunk && svn_cmd mkdir -m x "$svnrepo"/branches && -- 2.30.2