An interpreter of object-oriented scripting language
Go to file
Jun Aruga 7e3369a9b4 Fix test_provider.rb test_openssl_provider_names.
This commit fixes the following test failure of the
test_openssl_provider_names in the test/openssl/test_provider.rb.

```
159) Failure:
OpenSSL::TestProvider#test_openssl_provider_names [/builddir/build/BUILD/ruby-3.3.8/test/openssl/test_provider.rb:65]:
<2> expected but was
<3>.
```

Because the test_openssl_provider_names assumes the total number of the providers
calculating the number of the providers as a default status (1), adding the legacy
provider (1) is 2 at the following line.
https://github.com/ruby/ruby/blob/v3_3_8/test/openssl/test_provider.rb#L18

However, it is not the case on the current c10s. Because the number of the
providers as a default status is not 1 but 2 according the following result on
c10s mock environment. Therefore the total number of the providers adding the
one provider should be 3.

```
<mock-chroot> sh-5.2# rpm -q openssl openssl-libs oqsprovider
openssl-3.2.2-16.el10.x86_64
openssl-libs-3.2.2-16.el10.x86_64
oqsprovider-0.8.0-5.el10.x86_64

<mock-chroot> sh-5.2# openssl list -providers
Providers:
  default
    name: OpenSSL Default Provider
    version: 3.2.2
    status: active
  oqsprovider
    name: OpenSSL OQS Provider
    version: 0.8.0
    status: active
```

The patch files fixes the test_openssl_provider_names, considering this case.

Related: RHEL-87342
2025-04-25 14:11:07 +02:00
.fmf Add gating configuration 2024-08-07 13:26:06 +00:00
plans Use different repo in gating tmt plan 2024-11-29 11:53:14 +01:00
.gitignore Upgrade to Ruby 3.0.0. 2021-01-04 16:42:55 +01:00
gating.yaml Add gating configuration 2024-08-07 13:26:06 +00:00
libruby.stp Add TapSet for Ruby. 2013-02-22 14:17:04 +01:00
macros.ruby Add %{ruby_default_filter} macro. 2013-04-30 14:42:13 +02:00
macros.rubygems Upgrade to Ruby 3.3.0. 2024-01-02 18:52:33 +01:00
operating_system.rb Upgrade to Ruby 3.3.0. 2024-01-02 18:52:33 +01:00
rpm_test_helper.rb Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-2.1.0-always-use-i386.patch Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-2.1.0-custom-rubygems-location.patch Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-2.3.0-ruby_version.patch Upgrade to Ruby 3.3.7. 2025-02-05 13:27:12 +01:00
ruby-2.7.0-Initialize-ABRT-hook.patch Upgrade to Ruby 3.3.7. 2025-02-05 13:27:12 +01:00
ruby-3.3.0-Disable-syntax-suggest-test-case.patch Upgrade to Ruby 3.3.0. 2024-01-02 18:52:33 +01:00
ruby-3.4.0-Extract-hardening-CFLAGS-to-a-special-hardenflags-variable.patch Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
ruby-3.4.0-openssl-fix-test-provider-in-fips.patch Fix test_provider.rb test_openssl_provider_names. 2025-04-25 14:11:07 +02:00
ruby-3.4.0-openssl-make-a-legacy-provider-test-optional.patch Fix test_provider.rb test_openssl_provider_names. 2025-04-25 14:11:07 +02:00
ruby-3.4.0-openssl-respect-crypto-policies-tls-min.patch Fix Ruby OpenSSL to respect crypto-policies TLS minimal version. 2025-02-05 13:28:54 +01:00
ruby-exercise.stp Add missing ruby-exercise.stp file. 2013-02-22 14:17:53 +01:00
ruby.rpmlintrc Upgrade to Ruby 3.3.0. 2024-01-02 18:52:33 +01:00
ruby.spec Fix test_provider.rb test_openssl_provider_names. 2025-04-25 14:11:07 +02:00
rubygems.attr Add conflicts RPM generator. 2018-02-13 13:50:15 +01:00
rubygems.con Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
rubygems.prov Upgrade to Ruby 2.6.0. 2019-01-17 08:31:01 +01:00
rubygems.req Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
sources Upgrade to Ruby 3.3.8. 2025-04-15 17:09:17 +02:00
test_abrt.rb Move the ABRT hook test into separate file. 2015-12-13 19:36:58 +01:00
test_openssl_fips.rb Fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS. 2023-09-22 12:54:53 +02:00
test_rubygems_con.rb Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
test_rubygems_prov.rb Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
test_rubygems_req.rb Upgrade to Ruby 3.3.5. 2024-09-17 17:42:49 +02:00
test_systemtap.rb Upgrade to Ruby 2.4.0. 2017-01-09 15:58:21 +01:00