mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
test_wait_for_single_fd.rb: relax test for newer FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3bc10457a8
commit
baaf3ba189
@ -31,7 +31,10 @@ class TestWaitForSingleFD < Test::Unit::TestCase
|
||||
|
||||
# FreeBSD 8.2 or prior sticks this
|
||||
# http://bugs.ruby-lang.org/issues/5524
|
||||
skip if /freebsd[1-8]/ =~ RUBY_PLATFORM
|
||||
if /freebsd([\d\.]+)/ =~ RUBY_PLATFORM
|
||||
ver = $1.to_r
|
||||
skip 'FreeBSD <= 8.2' if ver <= 8.2r
|
||||
end
|
||||
with_pipe do |r,w|
|
||||
wfd = w.fileno
|
||||
w.close
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user