diff options
author | usa <usa@ruby-lang.org> | 2010-05-19 05:08:17 +0000 |
---|---|---|
committer | usa <usa@ruby-lang.org> | 2010-05-19 05:08:17 +0000 |
commit | 29a3cb42cc1be1fb3b396fe3bd660f6e7974735a (patch) | |
tree | 51f866a9f5a56dd933650d11019b772e27995497 /test | |
parent | 73b0c034d37d992e2bfecb9c6d7b79745747ecd8 (diff) | |
download | ruby-openssl-history-29a3cb42cc1be1fb3b396fe3bd660f6e7974735a.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ssl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb index ef442d4..6dd872e 100644 --- a/test/test_ssl.rb +++ b/test/test_ssl.rb @@ -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) |