diff options
-rw-r--r-- | bootstraptest/test_knownbug.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index ad1ceafbed..08661149f6 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -169,3 +169,11 @@ assert_equal '[nil, []]', %q{ r.inspect }, '[ruby-dev:32567]' +assert_normal_exit %q{ + require 'stringio' + s = "" + 10000.times { + s = "a".instance_eval { @a = StringIO.new(s); self } + } + Thread.new { GC.start }.join +}, '[ruby-dev:32604]' |