aboutsummaryrefslogtreecommitdiffstats
path: root/test/net
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-23 05:26:18 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-23 05:26:18 +0000
commit0ff75dc3416565bcbb25925b0d3581418262fedb (patch)
tree3bc92d2a104c9d104e64204612ea9d5e46008142 /test/net
parent1761f8d31445a62feaafe38b5a174892ade1e0fe (diff)
downloadruby-0ff75dc3416565bcbb25925b0d3581418262fedb.tar.gz
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
Diffstat (limited to 'test/net')
-rw-r--r--test/net/ftp/test_ftp.rb2
1 files changed, 1 insertions, 1 deletions
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