projects
/
dbsrgits/DBM-Deep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4de2610
)
Added opening for the files (stupid win32 warnings)
rkinyon [Mon, 10 Mar 2008 00:12:16 +0000 (
00:12
+0000)]
t/02_hash.t
patch
|
blob
|
blame
|
history
t/08_deephash.t
patch
|
blob
|
blame
|
history
t/09_deeparray.t
patch
|
blob
|
blame
|
history
diff --git
a/t/02_hash.t
b/t/02_hash.t
index
57d0408
..
6e9972a
100644
(file)
--- a/
t/02_hash.t
+++ b/
t/02_hash.t
@@
-115,6
+115,7
@@
is( $db->get("key1"), "value222222222222222222222222", "We set a value before cl
# Make sure DB still works after closing / opening
##
undef $db;
+open $fh, '+<', $filename;
$db = DBM::Deep->new(
file => $filename,
fh => $fh,
diff --git
a/t/08_deephash.t
b/t/08_deephash.t
index
949817b
..
5e022c3
100644
(file)
--- a/
t/08_deephash.t
+++ b/
t/08_deephash.t
@@
-51,6
+51,7
@@
my $max_levels = 1000;
}
{
+ open $fh, '+<', $filename;
my $db = DBM::Deep->new(
file => $filename,
fh => $fh,
diff --git
a/t/09_deeparray.t
b/t/09_deeparray.t
index
493cc05
..
1fe9d0f
100644
(file)
--- a/
t/09_deeparray.t
+++ b/
t/09_deeparray.t
@@
-35,6
+35,7
@@
my $max_levels = 1000;
}
{
+ open $fh, '+<', $filename;
my $db = DBM::Deep->new(
file => $filename,
fh => $fh,