summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 08:27:14 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 08:27:14 +0000
commit962f40ae4e01a3a90b281b41bd7093ebabeda039 (patch)
tree6ad5d66650b294806b34bf103ad6f12b11603345 /bootstraptest
parent5efe7738428d1f272eca8399c3f9b5ebef34ef9f (diff)
downloadruby-962f40ae4e01a3a90b281b41bd7093ebabeda039.tar.gz
ruby-962f40ae4e01a3a90b281b41bd7093ebabeda039.tar.xz
ruby-962f40ae4e01a3a90b281b41bd7093ebabeda039.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@14420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_fork.rb6
-rw-r--r--bootstraptest/test_knownbug.rb7
2 files changed, 6 insertions, 7 deletions
diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb
new file mode 100644
index 000000000..4632ca269
--- /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]'
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index d52d86e6d..8b53798c2 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -3,13 +3,6 @@
# So all tests will cause failure.
#
-assert_equal '0', %q{
- GC.stress = true
- pid = fork {}
- Process.wait pid
- $?.to_i
-}, '[ruby-dev:32404]'
-
assert_equal 'ok', %q{
1.times{
eval("break")