[#41278] [BUG:1.9] BINARY should not be ASCII-compatible — Yugui <yugui@...>

WXVndWkbJEIkRyQ5ISMbKEIKCgo+IBskQiRHISIkKiQqJGAkTSQzJDMkXiRHJE41RE9AJEclKyVQ

15 messages 2010/05/11

[#41407] [Bug #3339] win32ole test failure — Usaku NAKAMURA <redmine@...>

Bug #3339: win32ole test failure

20 messages 2010/05/25
[#41411] Re: [Bug #3339] win32ole test failure — Masaki Suketa <masaki.suketa@...> 2010/05/25

助田です。

[#41412] Re: [Bug #3339] win32ole test failure — "U.Nakamura" <usa@...> 2010/05/25

こんにちは、なかむら(う)です。

[ruby-dev:41350] [Bug #3318] net/imap/test_imap.rb reports an error on Windows

From: Usaku NAKAMURA <redmine@...>
Date: 2010-05-19 09:22:03 UTC
List: ruby-dev #41350
Bug #3318: net/imap/test_imap.rb reports an error on Windows
http://redmine.ruby-lang.org/issues/show/3318

起票者: Usaku NAKAMURA
ステータス: Assigned, 優先度: Normal
担当者: Shugo Maeda, カテゴリ: lib, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-05-19 trunk 27889) [i386-mswin32]

imapのテストが以下のようなエラーを出します。

  1) Error:
test_idle_done_not_during_idle(IMAPTest):
IOError: closed stream
    C:/ruby/test/net/imap/test_imap.rb:283:in `test_idle_done_not_during_idle'


以下のパッチで問題は出なくなるんですが、これでいいんでしょうか?
実はsocketレベルに問題がありそうだったりしますか?

Index: lib/net/imap.rb
===================================================================
--- lib/net/imap.rb	(revision 27889)
+++ lib/net/imap.rb	(working copy)
@@ -311,7 +311,7 @@ module Net
         @receiver_thread.raise(e)
       end
       @receiver_thread.join
-      @sock.close
+      @sock.close unless @sock.closed?
       raise e if e
     end


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next