summaryrefslogtreecommitdiff
path: root/lib/Memoize
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-08-05 16:45:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-08-05 16:45:54 +0000
commit206b12d5641a74e09d210dd4ea3998febd96392f (patch)
tree73ad42734e0ebb19822a11154cc600af26734fe3 /lib/Memoize
parent7234c9606edf69c3a376084693e90ff4d9d10f06 (diff)
downloadperl-206b12d5641a74e09d210dd4ea3998febd96392f.tar.gz
avoid temp file littering in tests
p4raw-id: //depot/perl@11585
Diffstat (limited to 'lib/Memoize')
-rwxr-xr-xlib/Memoize/t/errors.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Memoize/t/errors.t b/lib/Memoize/t/errors.t
index 27daa92b8f..2e81cdbcd4 100755
--- a/lib/Memoize/t/errors.t
+++ b/lib/Memoize/t/errors.t
@@ -33,7 +33,7 @@ for $mod (qw(DB_File GDBM_File SDBM_File ODBM_File NDBM_File)) {
};
print $@ =~ /can only store scalars/
|| $@ =~ /Can't locate.*in \@INC/ ? "ok $n\n" : "not ok $n # $@\n";
- 1 while unlink $dummyfile;
+ 1 while unlink $dummyfile, "$dummyfile.dir", "$dummyfile.pag";
$n++;
}