summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bootstraptest/test_thread.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 59f087435c..6dc25908b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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
+}