From: Junio C Hamano Date: Wed, 9 May 2007 16:19:42 +0000 (-0700) Subject: t9400: skip cvsserver test if Perl SQLite interface is unavailable X-Git-Tag: v1.5.2-rc3~10 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=469be5b258d72cec68c8d4e0c2fe44030bfc8787;p=git.git t9400: skip cvsserver test if Perl SQLite interface is unavailable Signed-off-by: Junio C Hamano --- diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index f17be6b97..f137b308f 100755 --- a/t/t9400-git-cvsserver-server.sh +++ b/t/t9400-git-cvsserver-server.sh @@ -17,6 +17,11 @@ then test_done exit fi +perl -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || { + test_expect_success 'skipping git-cvsserver tests, Perl SQLite interface unavailable' : + test_done + exit +} unset GIT_DIR GIT_CONFIG WORKDIR=$(pwd)