summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-07 13:59:17 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-07 13:59:17 +0000
commitf53a1931a70b1556a0f2c002e8afa3d960a71c7a (patch)
tree0ddc9d5949f04c5cf4afe6b269b3671d180d03f3 /test/net
parenteebb6bfc79db53559e3cc5d3972f0f4d69651f46 (diff)
* test/net/imap/test_imap.rb (ImapTest#imaps_test): forced error on SSL sockets
causes Errno::ECONNRESET or Errno::ECONNABORTED instead of Errno::EPIPE on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/imap/test_imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb
index f217971..da33533 100644
--- a/test/net/imap/test_imap.rb
+++ b/test/net/imap/test_imap.rb
@@ -492,7 +492,7 @@ class IMAPTest < Test::Unit::TestCase
ensure
sock.close
end
- rescue Errno::EPIPE
+ rescue Errno::EPIPE, Errno::ECONNRESET, Errno::ECONNABORTED
end
end
begin