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

* test/openssl/test_ssl.rb (server_loop): treat Errno::ENOTSOCK just like as

Errno::EBADF and Errno::EINVAL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2010-05-19 05:08:17 +00:00
parent c1b29ff5c6
commit 119863716b

View file

@ -80,7 +80,7 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
server_proc.call(ctx, ssl)
end
end
rescue Errno::EBADF, IOError, Errno::EINVAL, Errno::ECONNABORTED
rescue Errno::EBADF, IOError, Errno::EINVAL, Errno::ECONNABORTED, Errno::ENOTSOCK
end
def start_server(port0, verify_mode, start_immediately, args = {}, &block)