skip test_aspawn_too_long_path on Solaris 10 or earlier
* test/ruby/test_process.rb (TestProcess#test_aspawn_too_long_path): skip test_aspawn_too_long_path on Solaris 10 or earlier versions because they lack Process::RLIMIT_NPROC and the test creates extraordinary number of processes that makes the system unstable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
504842d81f
commit
b37fc5aa7e
@ -1641,6 +1641,9 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_aspawn_too_long_path
|
def test_aspawn_too_long_path
|
||||||
|
if /solaris/i =~ RUBY_PLATFORM && !defined?(Process::RLIMIT_NPROC)
|
||||||
|
skip "Too exhaustive test on platforms without Process::RLIMIT_NPROC such as Solaris 10"
|
||||||
|
end
|
||||||
bug4315 = '[ruby-core:34833] #7904 [ruby-core:52628] #11613'
|
bug4315 = '[ruby-core:34833] #7904 [ruby-core:52628] #11613'
|
||||||
assert_fail_too_long_path(%w"echo |", bug4315)
|
assert_fail_too_long_path(%w"echo |", bug4315)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user