1#!/bin/sh
2
3. ./test-lib.sh
4
5unset CVS_SERVER
6# for clean cvsps cache
7HOME=$(pwd)
8export HOME
9
10if ! type cvs >/dev/null 2>&1
11then
12 say 'skipping cvsimport tests, cvs not found'
13 test_done
14 exit
15fi
16
17CVS="cvs -f"
18export CVS
19
20cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'`
21case "$cvsps_version" in
222.1 | 2.2*)
23 ;;
24'')
25 say 'skipping cvsimport tests, cvsps not found'
26 test_done
27 exit
28 ;;
29*)
30 say 'skipping cvsimport tests, unsupported cvsps version'
31 test_done
32 exit
33 ;;
34esac