[前][次][番号順一覧][スレッド一覧]

ruby-changes:44809

From: shugo <ko1@a...>
Date: Wed, 23 Nov 2016 14:26:23 +0900 (JST)
Subject: [ruby-changes:44809] shugo:r56882 (trunk): rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

shugo	2016-11-23 14:26:18 +0900 (Wed, 23 Nov 2016)

  New Revision: 56882

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56882

  Log:
    rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.
    
    Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
    [ruby-core:78066] [Bug #12914]

  Modified files:
    trunk/test/net/ftp/test_ftp.rb
Index: test/net/ftp/test_ftp.rb
===================================================================
--- test/net/ftp/test_ftp.rb	(revision 56881)
+++ test/net/ftp/test_ftp.rb	(revision 56882)
@@ -421,7 +421,7 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L421
           end
           conn.print(l, "\r\n")
         end
-      rescue Errno::EPIPE
+      rescue Errno::EPIPE, Errno::EPROTOTYPE
       ensure
         assert_nil($!)
         conn.close

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]