mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
omit tests related legacy provider
It failed with recent update of FreeBSD
20240207
T023002Z.fail.html.gz
This commit is contained in:
parent
75aaeb35b8
commit
d95d3484a9
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,9 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_openssl_provider_names
|
def test_openssl_provider_name
|
||||||
|
omit if /freebsd/ =~ RUBY_PLATFORM
|
||||||
|
|
||||||
with_openssl <<-'end;'
|
with_openssl <<-'end;'
|
||||||
legacy_provider = OpenSSL::Provider.load("legacy")
|
legacy_provider = OpenSSL::Provider.load("legacy")
|
||||||
assert_equal(2, OpenSSL::Provider.provider_names.size)
|
assert_equal(2, OpenSSL::Provider.provider_names.size)
|
||||||
|
@ -33,6 +35,8 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_openssl_legacy_provider
|
def test_openssl_legacy_provider
|
||||||
|
omit if /freebsd/ =~ RUBY_PLATFORM
|
||||||
|
|
||||||
with_openssl(<<-'end;')
|
with_openssl(<<-'end;')
|
||||||
OpenSSL::Provider.load("legacy")
|
OpenSSL::Provider.load("legacy")
|
||||||
algo = "RC4"
|
algo = "RC4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue