Added unflocks to all tests so that the tests run on OSX
[dbsrgits/DBM-Deep.git] / t / 02_hash.t
index 6cf6079..5f772fb 100644 (file)
@@ -5,11 +5,13 @@ use strict;
 use Test::More tests => 30;
 use Test::Exception;
 use File::Temp qw( tempfile tempdir );
+use Fcntl qw( :flock );
 
 use_ok( 'DBM::Deep' );
 
 my $dir = tempdir( CLEANUP => 1 );
 my ($fh, $filename) = tempfile( 'tmpXXXX', UNLINK => 1, DIR => $dir );
+flock $fh, LOCK_UN;
 my $db = DBM::Deep->new( $filename );
 
 ##