From c0652defae7d5d508a54d400934d36c2fbccef4d Mon Sep 17 00:00:00 2001 From: shugo Date: Wed, 23 Nov 2016 05:26:18 +0000 Subject: 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/ftp/test_ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/net/ftp/test_ftp.rb') diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index 2541e7954a..5028bd410f 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -421,7 +421,7 @@ class FTPTest < Test::Unit::TestCase end conn.print(l, "\r\n") end - rescue Errno::EPIPE + rescue Errno::EPIPE, Errno::EPROTOTYPE ensure assert_nil($!) conn.close -- cgit v1.2.3