Skip to content

Commit

Permalink
t9157-*.sh: Add an svn version check
Browse files Browse the repository at this point in the history
Acked-by: Eric Wong <normalperson@yhbt.net>
Acked-by: Steven Walter <stevenrwalter@gmail.com>
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
  • Loading branch information
Ramsay Jones authored and Eric Wong committed Jan 7, 2011
1 parent 9cfdbf9 commit e17aa8a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/t9157-git-svn-fetch-merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit e17aa8a

Please sign in to comment.