From 6cbc9ac208b5bbaf5d43cdd47268f41d6a98970b Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 21 Dec 2007 08:27:14 +0000 Subject: * thread.c (rb_thread_atfork): fix to mark thread object. [ruby-dev:32404] * bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_fork.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bootstraptest/test_fork.rb (limited to 'bootstraptest/test_fork.rb') diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb new file mode 100644 index 0000000000..4632ca2694 --- /dev/null +++ b/bootstraptest/test_fork.rb @@ -0,0 +1,6 @@ +assert_equal '0', %q{ + GC.stress = true + pid = fork {} + Process.wait pid + $?.to_i +}, '[ruby-dev:32404]' -- cgit v1.2.3