FreeBSD NDBM appears to generate files ending .db, so be prepared to
authorNicholas Clark <nick@ccl4.org>
Fri, 25 Mar 2005 20:57:46 +0000 (20:57 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 25 Mar 2005 20:57:46 +0000 (20:57 +0000)
clean this variant up as well.

p4raw-id: //depot/perl@24078

lib/Memoize/t/tie_ndbm.t

index e22f06f..a328bc0 100644 (file)
@@ -29,9 +29,9 @@ if ($@) {
 print "1..4\n";
 
 $file = "md$$";
-1 while unlink $file, "$file.dir", "$file.pag";
+1 while unlink $file, "$file.dir", "$file.pag", "$file.db";
 tryout('Memoize::NDBM_File', $file, 1);  # Test 1..4
-1 while unlink $file, "$file.dir", "$file.pag";
+1 while unlink $file, "$file.dir", "$file.pag", "$file.db";
 
 sub tryout {
   my ($tiepack, $file, $testno) = @_;