Skip to content

Commit 9b7543d

Browse files
committed
omit tests related legacy provider
It failed with recent update of FreeBSD https://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20240207T023002Z.fail.html.gz
1 parent 9569999 commit 9b7543d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/openssl/test_provider.rb

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ def test_openssl_provider_name_inspect
1111
end;
1212
end
1313

14-
def test_openssl_provider_names
14+
def test_openssl_provider_name
15+
omit if /freebsd/ =~ RUBY_PLATFORM
16+
1517
with_openssl <<-'end;'
1618
legacy_provider = OpenSSL::Provider.load("legacy")
1719
assert_equal(2, OpenSSL::Provider.provider_names.size)
@@ -33,6 +35,8 @@ def test_unloaded_openssl_provider
3335
end
3436

3537
def test_openssl_legacy_provider
38+
omit if /freebsd/ =~ RUBY_PLATFORM
39+
3640
with_openssl(<<-'end;')
3741
OpenSSL::Provider.load("legacy")
3842
algo = "RC4"

0 commit comments

Comments
 (0)