diff options
author | Junio C Hamano <junkio@cox.net> | 2007-05-09 20:19:42 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-09 23:34:00 +0400 |
commit | 469be5b258d72cec68c8d4e0c2fe44030bfc8787 (patch) | |
tree | 597b256338b4261413bede4f162e81b3255df88e /t | |
parent | fba23c87fda0ac6698f191db6df57b8fdf23e2f8 (diff) |
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-x | t/t9400-git-cvsserver-server.sh | 5 |
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) |