зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
fbe967ec02
Коммит
b935a13ba5
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 10 17:32:35 2015 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC)
|
||||
is not supported on some platforms (e.g. Solaris 10).
|
||||
|
||||
Tue Nov 10 16:57:14 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* hash.c (rb_hash_to_proc): new method Hash#to_proc.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче