1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
shugo 2016-11-23 05:26:18 +00:00
parent 2411cab586
commit c0652defae

View file

@ -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