summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
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
+}