aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-07-28 19:45:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-07-28 19:45:15 +0900
commit3eade599194dac960bc5b81c3f1bcff4a460b959 (patch)
tree4621ae20a02b8dd2028589e556b92b62ef079b76 /test/ruby/test_io.rb
parentd448ecc7b11274e2e5d924a42693788141fad753 (diff)
downloadruby-3eade599194dac960bc5b81c3f1bcff4a460b959.tar.gz
Skip randomly failing tests with FreeBSD 12
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index b8530e7400..6a3d7594cf 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3114,6 +3114,8 @@ __END__
end
def test_cross_thread_close_stdio
+ omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM
+
assert_separately([], <<-'end;')
IO.pipe do |r,w|
$stdin.reopen(r)
@@ -3782,6 +3784,8 @@ __END__
end
def test_race_closed_stream
+ omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM
+
assert_separately([], "#{<<-"begin;"}\n#{<<-"end;"}")
begin;
bug13158 = '[ruby-core:79262] [Bug #13158]'
@@ -3876,6 +3880,8 @@ __END__
end
def test_closed_stream_in_rescue
+ omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM
+
assert_separately([], "#{<<-"begin;"}\n#{<<~"end;"}")
begin;
10.times do