mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/logger/test_logger.rb (test_shifting_size): should close log
device before unlink, since some platform cannot unlink opened file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
acbee0bda7
commit
08324a4098
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Aug 24 11:01:26 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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 <gotoyuzo@notwork.org>
|
||||
|
||||
* ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue