aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-09 09:19:42 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-09 12:34:00 -0700
commit469be5b258d72cec68c8d4e0c2fe44030bfc8787 (patch)
tree597b256338b4261413bede4f162e81b3255df88e /t
parentfba23c87fda0ac6698f191db6df57b8fdf23e2f8 (diff)
downloadgit-469be5b258d72cec68c8d4e0c2fe44030bfc8787.tar.gz
git-469be5b258d72cec68c8d4e0c2fe44030bfc8787.tar.xz
t9400: skip cvsserver test if Perl SQLite interface is unavailable
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh5
1 files changed, 5 insertions, 0 deletions
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)