summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 07:39:45 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 07:39:45 +0000
commit03b2fc9adf609e61550011f9de644209dd6ce021 (patch)
treefe6d70a199686ac0f5c6e96878020982701740a6 /bootstraptest
parentd1429c3cc6405a23b10c317c0ffdac96c9a7e61f (diff)
* bootstraptest/test_thread.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_thread.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index ebb60056ce..f9a5beef2d 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -361,3 +361,7 @@ assert_equal 'ok', %q{
t.join
$? ? :ng : :ok
}, '[ruby-dev:35414]'
+
+assert_equal 'ok', %q{
+ 10000.times { Thread.new(true) {|x| x == false } }; :ok
+}