summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 04:26:44 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 04:26:44 +0000
commit2aadcb8f5d0fbdd5db86348fa961e5c6528b0a08 (patch)
tree7f7b447f0a5054841a0820bec0dfe3ee55e81fa3 /bootstraptest
parent1bee8a8b459baf3862e38389a8b49b30f5f0bae1 (diff)
downloadruby-2aadcb8f5d0fbdd5db86348fa961e5c6528b0a08.tar.gz
ruby-2aadcb8f5d0fbdd5db86348fa961e5c6528b0a08.tar.xz
ruby-2aadcb8f5d0fbdd5db86348fa961e5c6528b0a08.zip
* thread.c (rb_thread_stop_timer_thread): should clear
timer_thread_id after stopping it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb4
-rw-r--r--bootstraptest/test_thread.rb5
2 files changed, 5 insertions, 4 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index cbec6bc5d..87efa9f96 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -155,7 +155,3 @@ assert_equal 'ok', %q{
:ng
end
}, "[ruby-dev:34236]"
-
-assert_normal_exit %q{
- exec "/"
-}
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 873e95529..fde04a8d4 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -229,3 +229,8 @@ assert_finish 3, %{
end
th.join
}
+
+assert_normal_exit %q{
+ STDERR.reopen(STDOUT)
+ exec "/"
+}