An interpreter of object-oriented scripting language
Go to file
Jarek Prokop 640996833b Allow up to 1 send from exits YJIT stat for proc test.
Add an allowed range of 0..1 for exits send stat.

In some case, the stats contain extra stat under 'exits' for 'send'.

In any other case, the stat is 0, and test passes.
From RPM build of Ruby for Fedora distro family, the exits' stats emit 1 extra send.

The commit that introduced fix and the offending test
0cba8cf414dfd8ab30edc3081645405c165a81d5 for [Bug #21266]
prevents a crash, which seems prevented here as well.

The test added by the backport fails deterministically in RPM builds
(both RHEL and Fedora) but passes when building from upstream sources
with the same Ruby 3.3.12 tag.

In the failed test we can observe the following snippet in addition to
the rest of the collected yjit stats:
```
Expected no exits, but got:
{:send=>1}
method call exit reasons:
    interrupted:          1 (100.0%)
```

Resolves: RHEL-170927
2026-08-10 16:09:31 +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 Change of the url 2025-11-21 15:06:00 +00:00
ruby-2.1.0-always-use-i386.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02:00
ruby-2.1.0-custom-rubygems-location.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02:00
ruby-2.3.0-ruby_version.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02: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.12. 2026-08-10 16:09:21 +02:00
ruby-3.3.12-Allow-up-to-1-send-from-exits-YJIT-stat-for-proc-tes.patch Allow up to 1 send from exits YJIT stat for proc test. 2026-08-10 16:09:31 +02:00
ruby-3.4.0-Extract-hardening-CFLAGS-to-a-special-hardenflags-variable.patch Upgrade to Ruby 3.3.12. 2026-08-10 16:09:21 +02:00
ruby-3.4.0-openssl-fix-test-provider-in-fips.patch Upgrade to Ruby 3.3.10. 2025-11-21 13:19:51 +00: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-3.4.2-openssl-Fix-SHA-1-PSS-tests.patch Fix the tests using SHA-1 Probabilistic Signature Scheme (PSS) parameters. 2025-04-30 16:47:41 +02: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 Allow up to 1 send from exits YJIT stat for proc test. 2026-08-10 16:09:31 +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.12. 2026-08-10 16:09:21 +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