diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 08:50:06 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 08:50:06 +0000 |
commit | 529d0c4b766560b35dc5fa95375d1858fa5c77fb (patch) | |
tree | 5cec8f4879a830cf4f5b8c2be83669efa2ec6f06 /bootstraptest | |
parent | 6f7702a3643afbc82787df2130d8336e5147f302 (diff) | |
download | ruby-529d0c4b766560b35dc5fa95375d1858fa5c77fb.tar.gz |
* bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC)
is not supported on some platforms (e.g. Solaris 10).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_fork.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb index 5de6ee1b12..1cd9f7ac6c 100644 --- a/bootstraptest/test_fork.rb +++ b/bootstraptest/test_fork.rb @@ -24,7 +24,7 @@ assert_finish 10, %q{ assert_normal_exit(<<'End', '[ruby-dev:37934]') main = Thread.current Thread.new { sleep 0.01 until main.stop?; Thread.kill main } - Process.setrlimit(:NPROC, 1) + Process.setrlimit(:NPROC, 1) if defined?(Process::RLIMIT_NPROC) fork {} End |