Skip to content

Commit 469be5b

Browse files
author
Junio C Hamano
committed
t9400: skip cvsserver test if Perl SQLite interface is unavailable
Signed-off-by: Junio C Hamano <[email protected]>
1 parent fba23c8 commit 469be5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t9400-git-cvsserver-server.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ then
1717
test_done
1818
exit
1919
fi
20+
perl -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || {
21+
test_expect_success 'skipping git-cvsserver tests, Perl SQLite interface unavailable' :
22+
test_done
23+
exit
24+
}
2025

2126
unset GIT_DIR GIT_CONFIG
2227
WORKDIR=$(pwd)

0 commit comments

Comments
 (0)