зеркало из https://github.com/github/ruby.git
* 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:
Родитель
acbee0bda7
Коммит
08324a4098
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче