Skip to content

Commit

Permalink
t9157-*.sh: Make the svn version check more precise
Browse files Browse the repository at this point in the history
These tests require an svn version 1.5 or newer to run correctly.
In particular, all 1.4.x versions and earlier are too old, so fix
up the case label regex to cover this range exactly.

[Fix provided by Anders Kaseorg <andersk@MIT.EDU>]

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Jan 11, 2011
1 parent a6fd3d4 commit 7fad99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t9157-git-svn-fetch-merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test_description='git svn merge detection'

svn_ver="$(svn --version --quiet)"
case $svn_ver in
[0-1].[0-4].[0-6])
0.* | 1.[0-4].*)
skip_all="skipping git-svn test - SVN too old ($svn_ver)"
test_done
;;
Expand Down

0 comments on commit 7fad99e

Please sign in to comment.