mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip randomly failing tests with FreeBSD 12
This commit is contained in:
parent
d448ecc7b1
commit
3eade59919
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -972,6 +972,8 @@ _eom
|
|||
end
|
||||
|
||||
def test_thread_timer_and_interrupt
|
||||
omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM
|
||||
|
||||
bug5757 = '[ruby-dev:44985]'
|
||||
pid = nil
|
||||
cmd = 'Signal.trap(:INT, "DEFAULT"); pipe=IO.pipe; Thread.start {Thread.pass until Thread.main.stop?; puts; STDOUT.flush}; pipe[0].read'
|
||||
|
|
Loading…
Add table
Reference in a new issue