Skip to content

Commit 4776cb0

Browse files
committed
[test] skip test_context_ciphers on Java 6 + use capital DSA / RSA
1 parent 62326ae commit 4776cb0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/test/ruby/dsa/test_dsa.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: US-ASCII
22
require File.expand_path('../test_helper', File.dirname(__FILE__))
33

4-
class TestDsa < TestCase
4+
class TestDSA < TestCase
55

66
def setup
77
super

src/test/ruby/rsa/test_rsa.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding: US-ASCII
22
require File.expand_path('../test_helper', File.dirname(__FILE__))
33

4-
class TestRsa < TestCase
4+
class TestRSA < TestCase
55

66
def setup
77
super

src/test/ruby/ssl/test_context.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ def test_context_set_ssl_version
103103
end
104104

105105
def test_context_ciphers
106+
return skip('on Java 6') if defined?(ENV_JAVA) && ENV_JAVA['java.version'] < '1.7'
107+
106108
context = OpenSSL::SSL::SSLContext.new
107109
context.ciphers = "ALL"
108110

0 commit comments

Comments
 (0)