Code

t9157-*.sh: Make the svn version check more precise
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Mon, 10 Jan 2011 23:21:26 +0000 (23:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Jan 2011 21:01:43 +0000 (13:01 -0800)
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>
t/t9157-git-svn-fetch-merge.sh

index accf61eb03c482e72cef7c8810c47bef5b985394..991d2aa1be63c2440db93e6237201383e28a498a 100755 (executable)
@@ -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
        ;;