t9600: allow testing with cvsps 2.2, including beta versions

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>
This commit is contained in:
Pavel Roskin
2008-07-14 20:20:19 -04:00
committed by Junio C Hamano
parent 547905f8cd
commit a271b2a9ce

View File

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