* 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:
ngoto 2015-11-10 08:50:06 +00:00
Родитель fbe967ec02
Коммит b935a13ba5
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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> Tue Nov 10 16:57:14 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (rb_hash_to_proc): new method Hash#to_proc. * 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]') assert_normal_exit(<<'End', '[ruby-dev:37934]')
main = Thread.current main = Thread.current
Thread.new { sleep 0.01 until main.stop?; Thread.kill main } 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 {} fork {}
End End