summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-05-09 09:19:42 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-09 12:34:00 -0700
commit469be5b258d72cec68c8d4e0c2fe44030bfc8787 (patch)
tree597b256338b4261413bede4f162e81b3255df88e
parentMerge branch 'fl/cvsserver' (diff)
downloadtgif-469be5b258d72cec68c8d4e0c2fe44030bfc8787.tar.xz
t9400: skip cvsserver test if Perl SQLite interface is unavailable
Signed-off-by: Junio C Hamano <junkio@cox.net>
-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 f17be6b97e..f137b308f3 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)