From 711f71b76122400b27980df5a225beadbef22ac2 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 31 Aug 2005 02:37:15 +0000 Subject: * test/gdbm/test_gdbm.rb (teardown): should remove GDBM temporary file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/gdbm/test_gdbm.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d46abd317..0b00b61fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 31 11:35:43 2005 NAKAMURA Usaku + + * test/gdbm/test_gdbm.rb (teardown): should remove GDBM temporary + file. + Wed Aug 31 10:30:56 2005 Hirokazu Yamamoto * process.c (proc_detach, proc_setmaxgroups): missing argument type diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index 74223b0bb..f4a6bfb19 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -42,8 +42,8 @@ if defined? GDBM ObjectSpace.each_object(GDBM) do |obj| obj.close unless obj.closed? end - File.delete *Dir.glob("tmptest_gdbm*").to_a - p Dir.glob("tmptest_gdbm*") if $DEBUG + File.delete *Dir.glob("*tmptest_gdbm*").to_a + p Dir.glob("*tmptest_gdbm*") if $DEBUG end def check_size(expect, gdbm=@gdbm) -- cgit