diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 07:39:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 07:39:45 +0000 |
commit | 3e2092923fe61fa67e83dc975ea9a5fe6a6eb9d5 (patch) | |
tree | fe6d70a199686ac0f5c6e96878020982701740a6 | |
parent | fcdfd2621de26f805e36f9c65deb2bc459f82d8a (diff) | |
download | ruby-3e2092923fe61fa67e83dc975ea9a5fe6a6eb9d5.tar.gz ruby-3e2092923fe61fa67e83dc975ea9a5fe6a6eb9d5.tar.xz ruby-3e2092923fe61fa67e83dc975ea9a5fe6a6eb9d5.zip |
* bootstraptest/test_thread.rb: add a test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bootstraptest/test_thread.rb | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Aug 31 16:39:17 2008 Koichi Sasada <ko1@atdot.net> + + * bootstraptest/test_thread.rb: add a test. + Sun Aug 31 16:34:41 2008 Tanaka Akira <akr@fsij.org> * enc/trans/single_byte.trans (us_ascii_map): don't define 8bit bytes. diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index ebb60056c..f9a5beef2 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 +} |