]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t9400-git-cvsserver-server.sh
Merge branch 'mo/maint-crlf-doc' into maint
[git.git] / t / t9400-git-cvsserver-server.sh
index 39185db6c962ee95caf35cc5ad9d26f228224f44..c2ec3cb4bd97693ef8f8f25064297f019053e03a 100755 (executable)
@@ -10,13 +10,17 @@ cvs CLI client via git-cvsserver server'
 
 . ./test-lib.sh
 
+if ! test_have_prereq PERL; then
+       say 'skipping git cvsserver tests, perl not available'
+       test_done
+fi
 cvs >/dev/null 2>&1
 if test $? -ne 1
 then
     say 'skipping git-cvsserver tests, cvs not found'
     test_done
 fi
-perl -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || {
+"$PERL_PATH" -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || {
     say 'skipping git-cvsserver tests, Perl SQLite interface unavailable'
     test_done
 }