t9600: allow testing with cvsps 2.2, including beta versions
authorPavel Roskin <proski@gnu.org>
Tue, 15 Jul 2008 00:20:19 +0000 (20:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2008 14:37:00 +0000 (07:37 -0700)
We've supported cvsps 2.1 so far.  Newer 2.2b1 (beta) seems to work with
us, too.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9600-cvsimport.sh

index 655f88270b27b637b6d4b7d3fdb3af76f525064f..1e01e5c7483c2772964aa5250bc436b25454de7d 100755 (executable)
@@ -18,7 +18,7 @@ fi
 
 cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'`
 case "$cvsps_version" in
-2.1)
+2.1 | 2.2*)
        ;;
 '')
        say 'skipping cvsimport tests, cvsps not found'
@@ -26,7 +26,7 @@ case "$cvsps_version" in
        exit
        ;;
 *)
-       say 'skipping cvsimport tests, cvsps too old'
+       say 'skipping cvsimport tests, unsupported cvsps version'
        test_done
        exit
        ;;