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