You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
462 B
32 lines
462 B
16 years ago
|
#!/bin/sh
|
||
|
|
||
|
. ./test-lib.sh
|
||
|
|
||
|
unset CVS_SERVER
|
||
|
# for clean cvsps cache
|
||
|
HOME=$(pwd)
|
||
|
export HOME
|
||
|
|
||
|
if ! type cvs >/dev/null 2>&1
|
||
|
then
|
||
|
say 'skipping cvsimport tests, cvs not found'
|
||
|
test_done
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'`
|
||
|
case "$cvsps_version" in
|
||
|
2.1 | 2.2*)
|
||
|
;;
|
||
|
'')
|
||
|
say 'skipping cvsimport tests, cvsps not found'
|
||
|
test_done
|
||
|
exit
|
||
|
;;
|
||
|
*)
|
||
|
say 'skipping cvsimport tests, unsupported cvsps version'
|
||
|
test_done
|
||
|
exit
|
||
|
;;
|
||
|
esac
|