diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-16 04:23:10 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-16 04:23:10 +0000 |
commit | 2836bd8ac4d8716228594bcec5ccfd7309ff7e1e (patch) | |
tree | 40a8b92d3e5d0af8f8b7c9071a6fbea2ffd59945 /test/net/smtp/test_smtp.rb | |
parent | 51e06f4d7be933e977dace602005d08077d11961 (diff) | |
download | ruby-2836bd8ac4d8716228594bcec5ccfd7309ff7e1e.tar.gz |
skip openssl related tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/smtp/test_smtp.rb')
-rw-r--r-- | test/net/smtp/test_smtp.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/net/smtp/test_smtp.rb b/test/net/smtp/test_smtp.rb index 98b7cad345..23e1542d8f 100644 --- a/test/net/smtp/test_smtp.rb +++ b/test/net/smtp/test_smtp.rb @@ -135,6 +135,8 @@ module Net sock.close if sock servers.each(&:close) end + rescue LoadError + # skip (require openssl) end def test_tls_connect_timeout @@ -151,6 +153,8 @@ module Net smtp.start do end end + rescue LoadError + # skip (require openssl) ensure sock.close if sock servers.each(&:close) |