Code

t9400: skip cvsserver test if Perl SQLite interface is unavailable
authorJunio C Hamano <junkio@cox.net>
Wed, 9 May 2007 16:19:42 +0000 (09:19 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 9 May 2007 19:34:00 +0000 (12:34 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t9400-git-cvsserver-server.sh

index f17be6b97eecf1ec29388a78c8953bf75c39498e..f137b308f3362ca5f3c069578c0638fe7fff35f6 100755 (executable)
@@ -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)