mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,10 @@ class TestWaitForSingleFD < Test::Unit::TestCase
|
||||||
|
|
||||||
# FreeBSD 8.2 or prior sticks this
|
# FreeBSD 8.2 or prior sticks this
|
||||||
# http://bugs.ruby-lang.org/issues/5524
|
# 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|
|
with_pipe do |r,w|
|
||||||
wfd = w.fileno
|
wfd = w.fileno
|
||||||
w.close
|
w.close
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue