From 3e3080ef5854ac6a0ae8cc18d2cffd3832afa35b Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 13 Jun 2013 09:54:02 +0000 Subject: [PATCH] * test/ruby/test_thread.rb (test_thread_local_security): Don't create an unused thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/ruby/test_thread.rb | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 445d4443f3..5f03b37d62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 13 18:53:14 2013 Tanaka Akira + + * test/ruby/test_thread.rb (test_thread_local_security): Don't create + an unused thread. + Thu Jun 13 18:34:20 2013 Tanaka Akira * bignum.c (bigdivrem): Use nlz. diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 46831f3c46..6f33a120f7 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -382,8 +382,6 @@ class TestThread < Test::Unit::TestCase end def test_thread_local_security - t = Thread.new { sleep } - assert_raise(RuntimeError) do Thread.new do Thread.current[:foo] = :bar