From b26fa72736bdcfc34ed18bea84e374fab561d50e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 11 Sep 2026 08:51:03 +0900 Subject: [PATCH] Re-enable TestIO_Console#test_intr on FreeBSD Ran 90 times on each of the rubyci FreeBSD 14.5 amd64 and 15.1 arm64 machines, in isolation and with the whole file both serially and under -j2, with no failure. https://github.com/ruby/ruby/commit/3c7eab425862abcbdab1f5614480e891bc14ac18 Co-Authored-By: Claude Opus 5 --- test/io/console/test_io_console.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 79b5fb1..b1d45c0 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -555,15 +555,6 @@ def assert_ctrl(expect, cc, r, w) end def test_intr - # This test fails randomly on FreeBSD 13 - # http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220304T163001Z.fail.html.gz - # - # 1) Failure: - # TestIO_Console#test_intr [/usr/home/chkbuild/chkbuild/tmp/build/20220304T163001Z/ruby/test/io/console/test_io_console.rb:387]: - # <"25"> expected but was - # <"-e:12:in `p': \e[1mexecution expired (\e[1;4mTimeout::Error\e[m\e[1m)\e[m">. - omit if host_os?(/freebsd/) - run_pty("#{<<~"begin;"}\n#{<<~'end;'}") do |r, w, _| begin; require 'timeout'