* test/ruby/test_io.rb (TestIO): revert r35631. it broke the intent of
test_flush_in_finalizer1. [ruby-core:43951] [Bug ##6228]
* test/ruby/test_io.rb (test_flush_in_finalizer1): don't use IO.for_fd
to close IO objects. it create IO object with already closed fd, and
cause occasional Errno::EBADF in following tests. [ruby-core:45020]
[Bug #6228]
merge revision(s) 35636,35637: [Backport #6429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e