summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-12 17:38:27 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-12 17:38:27 +0900
commitc20dd2f75491fc6e78dab55b492c507ee3bb670d (patch)
treeeadff59ef39cf6a4c2830fa511ff5dfa5ec8f547 /test/net
parent54e089df9e37d438687effd092feda2442116c62 (diff)
Add more debug info when Errno::EINVAL
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20191212T072406Z.fail.html.gz
Diffstat (limited to 'test/net')
-rw-r--r--test/net/imap/test_imap.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb
index b97be4f..28590c3 100644
--- a/test/net/imap/test_imap.rb
+++ b/test/net/imap/test_imap.rb
@@ -483,6 +483,8 @@ class IMAPTest < Test::Unit::TestCase
assert_raise(Net::IMAP::Error) do
Net::IMAP.new(server_addr, :port => port)
end
+ rescue Errno::EINVAL => e # for debug on OpenCSW
+ raise({e: e, server: server, port: port, server_addr: server_addr}.inspect)
end
def test_default_port