ruby-changes:59218
From: Kazuhiro <ko1@a...>
Date: Thu, 12 Dec 2019 17:41:10 +0900 (JST)
Subject: [ruby-changes:59218] c20dd2f754 (master): Add more debug info when Errno::EINVAL
https://git.ruby-lang.org/ruby.git/commit/?id=c20dd2f754 From c20dd2f75491fc6e78dab55b492c507ee3bb670d Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 12 Dec 2019 17:38:27 +0900 Subject: Add more debug info when Errno::EINVAL https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20191212T072406Z.fail.html.gz 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 https://github.com/ruby/ruby/blob/trunk/test/net/imap/test_imap.rb#L483 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/