X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9600-cvsimport.sh;h=4322a0c1ed6d792cbba4b52a7ba8bad74986bbad;hb=55524fcf9d6676ca3840227092bf3a14ba404615;hp=d2379e7f62a4da76791e65dbc2c70f4dfe14ff3b;hpb=1e7ef0253c91bf2f25f9d8e44795b642737e664e;p=git.git diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh index d2379e7f6..4322a0c1e 100755 --- a/t/t9600-cvsimport.sh +++ b/t/t9600-cvsimport.sh @@ -3,6 +3,11 @@ test_description='git cvsimport basic tests' . ./test-lib.sh +if ! test_have_prereq PERL; then + say 'skipping git cvsimport tests, perl not available' + test_done +fi + CVSROOT=$(pwd)/cvsroot export CVSROOT unset CVS_SERVER @@ -14,7 +19,6 @@ 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'` @@ -24,12 +28,10 @@ case "$cvsps_version" in '') say 'skipping cvsimport tests, cvsps not found' test_done - exit ;; *) say 'skipping cvsimport tests, unsupported cvsps version' test_done - exit ;; esac