From 0cdfbc9446d65959dc24b82e38b3cb5d6f9d825f Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 7 Jun 2009 23:59:58 +0000 Subject: * thread_pthread.c (rb_thread_create_timer_thread): print fatal error message to stderr instead of using rb_bug(). * KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_fork.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bootstraptest/test_fork.rb') diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb index c6b1b71a60..60a74e8a22 100644 --- a/bootstraptest/test_fork.rb +++ b/bootstraptest/test_fork.rb @@ -20,3 +20,9 @@ assert_finish 10, %q{ rescue NotImplementedError end }, '[ruby-core:22158]' + +assert_normal_exit(<<'End', '[ruby-dev:37934]') + Thread.new { sleep 1; Thread.kill Thread.main } + Process.setrlimit(:NPROC, 1) + fork {} +End -- cgit v1.2.3