diff --git a/ChangeLog b/ChangeLog index f8799e01d4..2be836928e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 24 11:01:26 2005 NAKAMURA Usaku + + * test/logger/test_logger.rb (test_shifting_size): should close log + device before unlink, since some platform cannot unlink opened + file. + Tue Aug 23 06:07:02 2005 GOTOU Yuuzou * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512. diff --git a/test/logger/test_logger.rb b/test/logger/test_logger.rb index 3528ff21e2..7f11a30a1f 100644 --- a/test/logger/test_logger.rb +++ b/test/logger/test_logger.rb @@ -301,6 +301,7 @@ class TestLogDevice < Test::Unit::TestCase assert(!File.exist?(logfile3)) logger.error("0" * 15) assert(!File.exist?(logfile3)) + logger.close File.unlink(logfile) File.unlink(logfile0) File.unlink(logfile1) @@ -336,6 +337,7 @@ class TestLogDevice < Test::Unit::TestCase assert(!File.exist?(logfile3)) logger.error("0" * 15) assert(!File.exist?(logfile3)) + logger.close File.unlink(logfile) File.unlink(logfile0) File.unlink(logfile1)