From f12b89c09160a4e672fbb7a8211bef6bdece2fb3 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 10 Jun 2010 06:56:11 +0000 Subject: [PATCH] backup tests require SQLite 3.6.11 and newer --- t/34_online_backup.t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/34_online_backup.t b/t/34_online_backup.t index aed3daa..8a4ce95 100644 --- a/t/34_online_backup.t +++ b/t/34_online_backup.t @@ -5,6 +5,15 @@ use warnings; use Test::More; use t::lib::Test qw/connect_ok @CALL_FUNCS/; + +BEGIN { + use DBD::SQLite; + unless ($DBD::SQLite::sqlite_version_number && $DBD::SQLite::sqlite_version_number >= 3006011) { + plan skip_all => "this test requires SQLite 3.6.11 and newer"; + exit; + } +} + use Test::NoWarnings; use DBI;