use lib qw(t/lib);
use DBICTest;
-{
- no warnings qw/once/;
- require inc::Module::Install;
- plan $Module::Install::AUTHOR
- ? (tests => 6)
- : (skip_all => 'Test temporarily disabled due to a widespread buggy SQLite version')
- ;
-}
+# equivalent of $Module::Install::AUTHOR
+my $author =
+ not -d './inc'
+ or
+ -e ($^O eq 'VMS' ? './inc/_author' : './inc/.author')
+;
+
+plan $author
+ ? (tests => 6)
+ : (skip_all => 'Test temporarily disabled due to a widespread buggy SQLite version')
+;
my $db_orig = "$FindBin::Bin/var/DBIxClass.db";
my $db_tmp = "$db_orig.tmp";