Move pread + pwrite tests out of RUBY_ENGINE block
These tests were guarded by a RUBY_ENGINE of "ruby" even though they test an official Ruby feature (pread/pwrite added in Ruby 2.5). This commit moves them to the top level of the test case so they will run on other implementations.
This commit is contained in:
parent
bdc36094e3
commit
0a9d74f8cf
Notes:
git
2019-08-31 04:40:14 +09:00
@ -3813,6 +3813,7 @@ __END__
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def test_pread
|
def test_pread
|
||||||
make_tempfile { |t|
|
make_tempfile { |t|
|
||||||
@ -3834,7 +3835,6 @@ __END__
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
end if IO.method_defined?(:pread) and IO.method_defined?(:pwrite)
|
end if IO.method_defined?(:pread) and IO.method_defined?(:pwrite)
|
||||||
end
|
|
||||||
|
|
||||||
def test_select_exceptfds
|
def test_select_exceptfds
|
||||||
if Etc.uname[:sysname] == 'SunOS' && Etc.uname[:release] == '5.11'
|
if Etc.uname[:sysname] == 'SunOS' && Etc.uname[:release] == '5.11'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user