diff --git a/t/01_compile.t b/t/01_compile.t index c2bbb39..23d27e9 100644 --- a/t/01_compile.t +++ b/t/01_compile.t @@ -11,9 +11,11 @@ BEGIN { use Test::More tests => 3; +use lib "t/lib"; + use_ok('DBI'); use_ok('DBD::SQLite'); -use_ok('t::lib::SQLiteTest'); +use_ok('SQLiteTest'); diag("\$DBI::VERSION=$DBI::VERSION"); diff --git a/t/02_logon.t b/t/02_logon.t index 4433fb4..e2cf56e 100644 --- a/t/02_logon.t +++ b/t/02_logon.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/03_create_table.t b/t/03_create_table.t index 772e57a..f6aa15f 100644 --- a/t/03_create_table.t +++ b/t/03_create_table.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 7; use Test::NoWarnings; diff --git a/t/04_insert.t b/t/04_insert.t index ab845b1..f3fb704 100644 --- a/t/04_insert.t +++ b/t/04_insert.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/05_select.t b/t/05_select.t index 20633a9..d450221 100644 --- a/t/05_select.t +++ b/t/05_select.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 22; use Test::NoWarnings; diff --git a/t/06_tran.t b/t/06_tran.t index dad253a..0604f80 100644 --- a/t/06_tran.t +++ b/t/06_tran.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/07_error.t b/t/07_error.t index bfc173a..92459c8 100644 --- a/t/07_error.t +++ b/t/07_error.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/08_busy.t b/t/08_busy.t index 4504009..a776b0c 100644 --- a/t/08_busy.t +++ b/t/08_busy.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/09_create_function.t b/t/09_create_function.t index af1ce55..f054bfe 100644 --- a/t/09_create_function.t +++ b/t/09_create_function.t @@ -7,7 +7,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; use DBD::SQLite; diff --git a/t/10_create_aggregate.t b/t/10_create_aggregate.t index d25a268..312d3e4 100644 --- a/t/10_create_aggregate.t +++ b/t/10_create_aggregate.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; use DBD::SQLite; diff --git a/t/12_unicode.t b/t/12_unicode.t index bd56b96..9f245e2 100644 --- a/t/12_unicode.t +++ b/t/12_unicode.t @@ -9,7 +9,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/13_create_collation.t b/t/13_create_collation.t index c5449cf..5edf19a 100644 --- a/t/13_create_collation.t +++ b/t/13_create_collation.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok dies @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok dies @CALL_FUNCS/; use Test::More; BEGIN { my $COLLATION_TESTS = 10; diff --git a/t/14_progress_handler.t b/t/14_progress_handler.t index 85466a5..3abe2ee 100644 --- a/t/14_progress_handler.t +++ b/t/14_progress_handler.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/15_ak_dbd.t b/t/15_ak_dbd.t index f2bb1c5..caaa465 100644 --- a/t/15_ak_dbd.t +++ b/t/15_ak_dbd.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 37; use Test::NoWarnings; diff --git a/t/16_column_info.t b/t/16_column_info.t index c2036fb..eb078c3 100644 --- a/t/16_column_info.t +++ b/t/16_column_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 12; use Test::NoWarnings; diff --git a/t/17_createdrop.t b/t/17_createdrop.t index 2236b4f..98c18fe 100644 --- a/t/17_createdrop.t +++ b/t/17_createdrop.t @@ -9,7 +9,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/18_insertfetch.t b/t/18_insertfetch.t index dff9b9a..79c0fe1 100644 --- a/t/18_insertfetch.t +++ b/t/18_insertfetch.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 10; use Test::NoWarnings; diff --git a/t/19_bindparam.t b/t/19_bindparam.t index 5b02f8f..84efccb 100644 --- a/t/19_bindparam.t +++ b/t/19_bindparam.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 39; use Test::NoWarnings; use DBI ':sql_types'; diff --git a/t/20_blobs.t b/t/20_blobs.t index 28830d0..c0c6937 100644 --- a/t/20_blobs.t +++ b/t/20_blobs.t @@ -9,7 +9,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 17; use Test::NoWarnings; use DBI ':sql_types'; diff --git a/t/21_blobtext.t b/t/21_blobtext.t index d4bc048..cb35c61 100644 --- a/t/21_blobtext.t +++ b/t/21_blobtext.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 27; use Test::NoWarnings; diff --git a/t/22_listfields.t b/t/22_listfields.t index c8a7c23..6a00009 100644 --- a/t/22_listfields.t +++ b/t/22_listfields.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 12; use Test::NoWarnings; diff --git a/t/23_nulls.t b/t/23_nulls.t index 50f2e28..197b64a 100644 --- a/t/23_nulls.t +++ b/t/23_nulls.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 9; # Create a database diff --git a/t/24_numrows.t b/t/24_numrows.t index 592bcf0..fc74a1c 100644 --- a/t/24_numrows.t +++ b/t/24_numrows.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 18; use Test::NoWarnings; diff --git a/t/25_chopblanks.t b/t/25_chopblanks.t index 6c0e770..428b092 100644 --- a/t/25_chopblanks.t +++ b/t/25_chopblanks.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/26_commit.t b/t/26_commit.t index 20654f4..3c65c62 100644 --- a/t/26_commit.t +++ b/t/26_commit.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 28; # use Test::NoWarnings; diff --git a/t/27_metadata.t b/t/27_metadata.t index 2fd68f1..1d1517b 100644 --- a/t/27_metadata.t +++ b/t/27_metadata.t @@ -7,7 +7,8 @@ BEGIN { } use Test::More tests => 21; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; # 1-4. Connect & create tables my $dbh = connect_ok(dbfile => 'foo'); diff --git a/t/28_schemachange.t b/t/28_schemachange.t index 1537c5c..ea434ec 100644 --- a/t/28_schemachange.t +++ b/t/28_schemachange.t @@ -10,7 +10,8 @@ BEGIN { } use Test::More tests => 9; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; my $create1 = 'CREATE TABLE table1 (id INTEGER NOT NULL, name CHAR (64) NOT NULL)'; my $create2 = 'CREATE TABLE table2 (id INTEGER NOT NULL, name CHAR (64) NOT NULL)'; diff --git a/t/30_auto_rollback.t b/t/30_auto_rollback.t index 79ba8d5..3ae39a5 100644 --- a/t/30_auto_rollback.t +++ b/t/30_auto_rollback.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/31_bind_weird_number_param.t b/t/31_bind_weird_number_param.t index eb24b39..24ecf3f 100644 --- a/t/31_bind_weird_number_param.t +++ b/t/31_bind_weird_number_param.t @@ -10,7 +10,8 @@ my @to_be_tested; BEGIN { @to_be_tested = (1.23E4); } use Test::More tests => 2 + @to_be_tested; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; my $dbh = connect_ok(); diff --git a/t/32_inactive_error.t b/t/32_inactive_error.t index 08535f1..58f4034 100644 --- a/t/32_inactive_error.t +++ b/t/32_inactive_error.t @@ -7,7 +7,8 @@ BEGIN { } use Test::More tests => 4; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; my $dbh = connect_ok( PrintError => 0, RaiseError => 0 ); diff --git a/t/33_non_latin_path.t b/t/33_non_latin_path.t index f93e98a..64895cc 100644 --- a/t/33_non_latin_path.t +++ b/t/33_non_latin_path.t @@ -9,7 +9,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/34_online_backup.t b/t/34_online_backup.t index 4e0eb47..1ee67d6 100644 --- a/t/34_online_backup.t +++ b/t/34_online_backup.t @@ -4,7 +4,8 @@ use strict; use warnings; use Test::More; -use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok dbfile @CALL_FUNCS requires_sqlite/; BEGIN { requires_sqlite('3.6.11') } diff --git a/t/35_table_info.t b/t/35_table_info.t index 2f0354f..26b3f53 100644 --- a/t/35_table_info.t +++ b/t/35_table_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 22; use Test::NoWarnings; diff --git a/t/36_hooks.t b/t/36_hooks.t index 5b7afbe..180e351 100644 --- a/t/36_hooks.t +++ b/t/36_hooks.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings qw/had_no_warnings clear_warnings/; diff --git a/t/37_regexp.t b/t/37_regexp.t index 00d4e9b..ada0d8e 100644 --- a/t/37_regexp.t +++ b/t/37_regexp.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; my @words = qw{ diff --git a/t/38_empty_statement.t b/t/38_empty_statement.t index 3a1bd5d..8ec9af7 100644 --- a/t/38_empty_statement.t +++ b/t/38_empty_statement.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/39_foreign_keys.t b/t/39_foreign_keys.t index 7b6a0bb..f1f0641 100644 --- a/t/39_foreign_keys.t +++ b/t/39_foreign_keys.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.19') } diff --git a/t/40_multiple_statements.t b/t/40_multiple_statements.t index 0c7fa43..3f1845d 100644 --- a/t/40_multiple_statements.t +++ b/t/40_multiple_statements.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/41_placeholders.t b/t/41_placeholders.t index 1e951a5..b772c01 100644 --- a/t/41_placeholders.t +++ b/t/41_placeholders.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/42_primary_key_info.t b/t/42_primary_key_info.t index 8e474c9..b3fc64b 100644 --- a/t/42_primary_key_info.t +++ b/t/42_primary_key_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/43_fts3.t b/t/43_fts3.t index eddd199..1f44780 100644 --- a/t/43_fts3.t +++ b/t/43_fts3.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok has_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok has_sqlite/; use Test::More; use DBD::SQLite; diff --git a/t/44_rtree.t b/t/44_rtree.t index 735ec21..77d0135 100644 --- a/t/44_rtree.t +++ b/t/44_rtree.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; use DBD::SQLite; use Data::Dumper; diff --git a/t/45_savepoints.t b/t/45_savepoints.t index f79f3f8..ba1235d 100644 --- a/t/45_savepoints.t +++ b/t/45_savepoints.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/46_mod_perl.t b/t/46_mod_perl.t index 29697c4..c20b606 100644 --- a/t/46_mod_perl.t +++ b/t/46_mod_perl.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { eval {require APR::Table; 1}; diff --git a/t/47_execute.t b/t/47_execute.t index aed1406..edd7b09 100644 --- a/t/47_execute.t +++ b/t/47_execute.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/48_bind_param_is_sticky.t b/t/48_bind_param_is_sticky.t index d9f7c8a..bcb9b55 100644 --- a/t/48_bind_param_is_sticky.t +++ b/t/48_bind_param_is_sticky.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use DBI qw(:sql_types); use Test::More; use Test::NoWarnings; diff --git a/t/49_trace_and_profile.t b/t/49_trace_and_profile.t index 74faff2..7fb85a2 100644 --- a/t/49_trace_and_profile.t +++ b/t/49_trace_and_profile.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.6.21') } diff --git a/t/50_foreign_key_info.t b/t/50_foreign_key_info.t index faa2751..119d154 100755 --- a/t/50_foreign_key_info.t +++ b/t/50_foreign_key_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { diff --git a/t/51_table_column_metadata.t b/t/51_table_column_metadata.t index 6b7b40d..17b8c0e 100644 --- a/t/51_table_column_metadata.t +++ b/t/51_table_column_metadata.t @@ -15,7 +15,8 @@ BEGIN { } } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::NoWarnings; plan tests => 16 * @CALL_FUNCS + 1; diff --git a/t/52_db_filename.t b/t/52_db_filename.t index 65ab21f..6f1da51 100644 --- a/t/52_db_filename.t +++ b/t/52_db_filename.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.10') } diff --git a/t/53_status.t b/t/53_status.t index fe45e31..7001f48 100644 --- a/t/53_status.t +++ b/t/53_status.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS has_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS has_sqlite/; use Test::More; use Test::NoWarnings; diff --git a/t/54_literal_txn.t b/t/54_literal_txn.t index 0f19217..d00e7e4 100644 --- a/t/54_literal_txn.t +++ b/t/54_literal_txn.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More tests => 5; use Test::NoWarnings; diff --git a/t/55_statistics_info.t b/t/55_statistics_info.t index 5466685..5d1a892 100644 --- a/t/55_statistics_info.t +++ b/t/55_statistics_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { diff --git a/t/56_open_flags.t b/t/56_open_flags.t index 863fa9d..9f68d65 100644 --- a/t/56_open_flags.t +++ b/t/56_open_flags.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; my $tests = 7; diff --git a/t/57_uri_filename.t b/t/57_uri_filename.t index 6ed3dd7..d0043c5 100644 --- a/t/57_uri_filename.t +++ b/t/57_uri_filename.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.7') } diff --git a/t/58_see_if_its_a_number_and_explicit_binding.t b/t/58_see_if_its_a_number_and_explicit_binding.t index 3dd583d..464b9c4 100644 --- a/t/58_see_if_its_a_number_and_explicit_binding.t +++ b/t/58_see_if_its_a_number_and_explicit_binding.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/59_extended_result_codes.t b/t/59_extended_result_codes.t index 0580130..72ce9a8 100644 --- a/t/59_extended_result_codes.t +++ b/t/59_extended_result_codes.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use DBD::SQLite; diff --git a/t/60_readonly.t b/t/60_readonly.t index 3a8ea36..d80ee35 100644 --- a/t/60_readonly.t +++ b/t/60_readonly.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok requires_sqlite/; use Test::More; use DBD::SQLite::Constants qw/SQLITE_OPEN_READONLY/; diff --git a/t/61_strlike.t b/t/61_strlike.t index fa5ab33..de9d6f2 100644 --- a/t/61_strlike.t +++ b/t/61_strlike.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/requires_sqlite/; use Test::More; use DBD::SQLite; diff --git a/t/62_regexp_multibyte_char_class.t b/t/62_regexp_multibyte_char_class.t index c9782b8..b506638 100644 --- a/t/62_regexp_multibyte_char_class.t +++ b/t/62_regexp_multibyte_char_class.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; BEGIN { if ($] < 5.008005) { diff --git a/t/cookbook_variance.t b/t/cookbook_variance.t index 3cc6349..26fb415 100644 --- a/t/cookbook_variance.t +++ b/t/cookbook_variance.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; use Test::NoWarnings; diff --git a/t/lib/SQLiteTest.pm b/t/lib/SQLiteTest.pm index 274754b..622fb34 100644 --- a/t/lib/SQLiteTest.pm +++ b/t/lib/SQLiteTest.pm @@ -1,4 +1,4 @@ -package t::lib::SQLiteTest; +package SQLiteTest; # Support code for DBD::SQLite tests diff --git a/t/rt_106151_outermost_savepoint.t b/t/rt_106151_outermost_savepoint.t index fe4e350..8bfa02e 100644 --- a/t/rt_106151_outermost_savepoint.t +++ b/t/rt_106151_outermost_savepoint.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/rt_106950_extra_warnings_with_savepoints.t b/t/rt_106950_extra_warnings_with_savepoints.t index 446e7ae..8afdd12 100644 --- a/t/rt_106950_extra_warnings_with_savepoints.t +++ b/t/rt_106950_extra_warnings_with_savepoints.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/rt_115465_column_info_with_spaces.t b/t/rt_115465_column_info_with_spaces.t index 8ea646b..5fdab01 100644 --- a/t/rt_115465_column_info_with_spaces.t +++ b/t/rt_115465_column_info_with_spaces.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; plan tests => 14; diff --git a/t/rt_15186_prepcached.t b/t/rt_15186_prepcached.t index a64a875..9258380 100644 --- a/t/rt_15186_prepcached.t +++ b/t/rt_15186_prepcached.t @@ -10,7 +10,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 13; use Test::NoWarnings; diff --git a/t/rt_21406_auto_finish.t b/t/rt_21406_auto_finish.t index 0494a54..fe9fdc5 100644 --- a/t/rt_21406_auto_finish.t +++ b/t/rt_21406_auto_finish.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 11; use Test::NoWarnings; diff --git a/t/rt_25371_asymmetric_unicode.t b/t/rt_25371_asymmetric_unicode.t index 5f4dbc5..0d4e21c 100644 --- a/t/rt_25371_asymmetric_unicode.t +++ b/t/rt_25371_asymmetric_unicode.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_25460_numeric_aggregate.t b/t/rt_25460_numeric_aggregate.t index 66e2617..b6d9aca 100644 --- a/t/rt_25460_numeric_aggregate.t +++ b/t/rt_25460_numeric_aggregate.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/rt_25924_user_defined_func_unicode.t b/t/rt_25924_user_defined_func_unicode.t index 1db9643..bc62803 100644 --- a/t/rt_25924_user_defined_func_unicode.t +++ b/t/rt_25924_user_defined_func_unicode.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_26775_distinct.t b/t/rt_26775_distinct.t index 68a5f36..024fbfe 100644 --- a/t/rt_26775_distinct.t +++ b/t/rt_26775_distinct.t @@ -3,7 +3,8 @@ use strict; use warnings; use DBI; use Test::More; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; BEGIN { requires_sqlite('3.6.3') } diff --git a/t/rt_27553_prepared_cache_and_analyze.t b/t/rt_27553_prepared_cache_and_analyze.t index 1da1e65..130bf42 100644 --- a/t/rt_27553_prepared_cache_and_analyze.t +++ b/t/rt_27553_prepared_cache_and_analyze.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/rt_29058_group_by.t b/t/rt_29058_group_by.t index 04b0663..7c68659 100644 --- a/t/rt_29058_group_by.t +++ b/t/rt_29058_group_by.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/rt_29629_sqlite_where_length.t b/t/rt_29629_sqlite_where_length.t index f261ed4..2c332d4 100644 --- a/t/rt_29629_sqlite_where_length.t +++ b/t/rt_29629_sqlite_where_length.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 19; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/rt_31324_full_names.t b/t/rt_31324_full_names.t index b9c36d8..374ba3e 100644 --- a/t/rt_31324_full_names.t +++ b/t/rt_31324_full_names.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/rt_32889_prepare_cached_reexecute.t b/t/rt_32889_prepare_cached_reexecute.t index a7ea57e..f51927a 100644 --- a/t/rt_32889_prepare_cached_reexecute.t +++ b/t/rt_32889_prepare_cached_reexecute.t @@ -10,7 +10,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 32; use Test::NoWarnings; diff --git a/t/rt_36836_duplicate_key.t b/t/rt_36836_duplicate_key.t index 5171e87..8839d88 100644 --- a/t/rt_36836_duplicate_key.t +++ b/t/rt_36836_duplicate_key.t @@ -8,7 +8,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 5; use Test::NoWarnings; diff --git a/t/rt_36838_unique_and_bus_error.t b/t/rt_36838_unique_and_bus_error.t index 51b1c24..ab9846a 100644 --- a/t/rt_36838_unique_and_bus_error.t +++ b/t/rt_36838_unique_and_bus_error.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/rt_40594_nullable.t b/t/rt_40594_nullable.t index 7a33e4e..f7fadcc 100644 --- a/t/rt_40594_nullable.t +++ b/t/rt_40594_nullable.t @@ -7,7 +7,8 @@ BEGIN { } use Test::More; -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use DBD::SQLite; BEGIN { diff --git a/t/rt_48393_debug_panic_with_commit.t b/t/rt_48393_debug_panic_with_commit.t index e4a47f6..75bf399 100644 --- a/t/rt_48393_debug_panic_with_commit.t +++ b/t/rt_48393_debug_panic_with_commit.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_50503_fts3.t b/t/rt_50503_fts3.t index 3ef690d..182c7b2 100644 --- a/t/rt_50503_fts3.t +++ b/t/rt_50503_fts3.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_52573_manual_exclusive_lock.t b/t/rt_52573_manual_exclusive_lock.t index 6a27615..48dd1e7 100644 --- a/t/rt_52573_manual_exclusive_lock.t +++ b/t/rt_52573_manual_exclusive_lock.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 92 * 4 + 2; use Test::NoWarnings; diff --git a/t/rt_53235_icu_compatibility.t b/t/rt_53235_icu_compatibility.t index bd1ebe8..be86860 100644 --- a/t/rt_53235_icu_compatibility.t +++ b/t/rt_53235_icu_compatibility.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { require DBD::SQLite; diff --git a/t/rt_62370_diconnected_handles_operation.t b/t/rt_62370_diconnected_handles_operation.t index 6d17150..d61db18 100644 --- a/t/rt_62370_diconnected_handles_operation.t +++ b/t/rt_62370_diconnected_handles_operation.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use DBD::SQLite; #use Test::NoWarnings; diff --git a/t/rt_64177_ping_wipes_out_the_errstr.t b/t/rt_64177_ping_wipes_out_the_errstr.t index 43b463a..0e9e969 100644 --- a/t/rt_64177_ping_wipes_out_the_errstr.t +++ b/t/rt_64177_ping_wipes_out_the_errstr.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/rt_67581_bind_params_mismatch.t b/t/rt_67581_bind_params_mismatch.t index bf1df33..4ff2079 100644 --- a/t/rt_67581_bind_params_mismatch.t +++ b/t/rt_67581_bind_params_mismatch.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More tests => 34; use DBI qw/:sql_types/; diff --git a/t/rt_71311_bind_col_and_unicode.t b/t/rt_71311_bind_col_and_unicode.t index abb7f31..e741460 100644 --- a/t/rt_71311_bind_col_and_unicode.t +++ b/t/rt_71311_bind_col_and_unicode.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_73159_fts_tokenizer_segfault.t b/t/rt_73159_fts_tokenizer_segfault.t index 1cb9e66..7069813 100644 --- a/t/rt_73159_fts_tokenizer_segfault.t +++ b/t/rt_73159_fts_tokenizer_segfault.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 2; use DBI; diff --git a/t/rt_73787_exponential_buffer_overflow.t b/t/rt_73787_exponential_buffer_overflow.t index 01dd01e..a77c66a 100644 --- a/t/rt_73787_exponential_buffer_overflow.t +++ b/t/rt_73787_exponential_buffer_overflow.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/rt_76395_int_overflow.t b/t/rt_76395_int_overflow.t index d6f4875..06fcf83 100644 --- a/t/rt_76395_int_overflow.t +++ b/t/rt_76395_int_overflow.t @@ -6,7 +6,8 @@ BEGIN { $| = 1; $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; use DBI; diff --git a/t/rt_77724_primary_key_with_a_whitespace.t b/t/rt_77724_primary_key_with_a_whitespace.t index 40cc839..681b61b 100644 --- a/t/rt_77724_primary_key_with_a_whitespace.t +++ b/t/rt_77724_primary_key_with_a_whitespace.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/rt_78833_utf8_flag_for_column_names.t b/t/rt_78833_utf8_flag_for_column_names.t index 0022c8c..277ebdb 100644 --- a/t/rt_78833_utf8_flag_for_column_names.t +++ b/t/rt_78833_utf8_flag_for_column_names.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_81536_multi_column_primary_key_info.t b/t/rt_81536_multi_column_primary_key_info.t index f1b6829..b7aa5f1 100644 --- a/t/rt_81536_multi_column_primary_key_info.t +++ b/t/rt_81536_multi_column_primary_key_info.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/rt_88228_sqlite_3_8_0_crash.t b/t/rt_88228_sqlite_3_8_0_crash.t index f8da60c..e9d4fb2 100644 --- a/t/rt_88228_sqlite_3_8_0_crash.t +++ b/t/rt_88228_sqlite_3_8_0_crash.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More tests => 3; use Test::NoWarnings; diff --git a/t/rt_96050_db_filename_for_a_closed_database.t b/t/rt_96050_db_filename_for_a_closed_database.t index cebdae2..3e5cc0e 100644 --- a/t/rt_96050_db_filename_for_a_closed_database.t +++ b/t/rt_96050_db_filename_for_a_closed_database.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; use Test::NoWarnings; diff --git a/t/rt_96877_unicode_statements.t b/t/rt_96877_unicode_statements.t index d0ae696..2e2f6af 100644 --- a/t/rt_96877_unicode_statements.t +++ b/t/rt_96877_unicode_statements.t @@ -9,7 +9,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_96878_fts_contentless_table.t b/t/rt_96878_fts_contentless_table.t index 68a2182..1d04473 100644 --- a/t/rt_96878_fts_contentless_table.t +++ b/t/rt_96878_fts_contentless_table.t @@ -12,7 +12,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.9') } diff --git a/t/rt_97598_crash_on_disconnect_with_virtual_tables.t b/t/rt_97598_crash_on_disconnect_with_virtual_tables.t index 4004b96..bea7c41 100644 --- a/t/rt_97598_crash_on_disconnect_with_virtual_tables.t +++ b/t/rt_97598_crash_on_disconnect_with_virtual_tables.t @@ -6,7 +6,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest; +use lib "t/lib"; +use SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.7') } diff --git a/t/virtual_table/00_base.t b/t/virtual_table/00_base.t index b69927d..6259555 100644 --- a/t/virtual_table/00_base.t +++ b/t/virtual_table/00_base.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/01_destroy.t b/t/virtual_table/01_destroy.t index ada6fbc..117adfd 100644 --- a/t/virtual_table/01_destroy.t +++ b/t/virtual_table/01_destroy.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/02_find_function.t b/t/virtual_table/02_find_function.t index 1f597cc..70418e0 100644 --- a/t/virtual_table/02_find_function.t +++ b/t/virtual_table/02_find_function.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/10_filecontent.t b/t/virtual_table/10_filecontent.t index 9fc0301..dcc74f5 100644 --- a/t/virtual_table/10_filecontent.t +++ b/t/virtual_table/10_filecontent.t @@ -6,7 +6,8 @@ BEGIN { } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; use FindBin; diff --git a/t/virtual_table/11_filecontent_fulltext.t b/t/virtual_table/11_filecontent_fulltext.t index 32533ad..b95b115 100644 --- a/t/virtual_table/11_filecontent_fulltext.t +++ b/t/virtual_table/11_filecontent_fulltext.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call requires_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.12') } diff --git a/t/virtual_table/20_perldata.t b/t/virtual_table/20_perldata.t index b618ed9..3454915 100644 --- a/t/virtual_table/20_perldata.t +++ b/t/virtual_table/20_perldata.t @@ -6,7 +6,8 @@ BEGIN { } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call requires_sqlite has_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call requires_sqlite has_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.4') } diff --git a/t/virtual_table/21_perldata_charinfo.t b/t/virtual_table/21_perldata_charinfo.t index abb44e1..71484b8 100644 --- a/t/virtual_table/21_perldata_charinfo.t +++ b/t/virtual_table/21_perldata_charinfo.t @@ -8,7 +8,8 @@ BEGIN { # test the example described in # L -use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; BEGIN { diff --git a/t/virtual_table/rt_99748.t b/t/virtual_table/rt_99748.t index d7586df..5315709 100644 --- a/t/virtual_table/rt_99748.t +++ b/t/virtual_table/rt_99748.t @@ -5,7 +5,8 @@ BEGIN { $^W = 1; } -use t::lib::SQLiteTest qw/connect_ok $sqlite_call has_sqlite/; +use lib "t/lib"; +use SQLiteTest qw/connect_ok $sqlite_call has_sqlite/; use Test::More; use Test::NoWarnings;