5 use Test::More tests => 3;
6 use File::Temp qw( tempfile tempdir );
7 use Fcntl qw( :flock );
9 diag "Testing DBM::Deep against Perl $] located at $^X";
11 use_ok( 'DBM::Deep' );
16 my $dir = tempdir( CLEANUP => 1 );
17 my ($fh, $filename) = tempfile( 'tmpXXXX', DIR => $dir );
21 DBM::Deep->new( $filename );
25 Test::More->builder->BAIL_OUT( "Opening a new file fails" );
28 isa_ok( $db, 'DBM::Deep' );
29 ok(1, "We can successfully open a file!" );