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 коммит произвёл Junio C Hamano
Родитель 547905f8cd
Коммит a271b2a9ce
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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
;;