summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-22 15:56:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-22 15:56:01 +0000
commit20d5f17dc52f82b4d189693ef8a5ca937014511b (patch)
tree6e64c686877d68d6a1a601218fc377387da9d21b /bootstraptest
parent7b94b6e0047b29a8c285f05cbeea657063357113 (diff)
downloadruby-20d5f17dc52f82b4d189693ef8a5ca937014511b.tar.gz
ruby-20d5f17dc52f82b4d189693ef8a5ca937014511b.tar.xz
ruby-20d5f17dc52f82b4d189693ef8a5ca937014511b.zip
add test for [ruby-dev:31818].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 710331427..89a643a4e 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -24,3 +24,11 @@ assert_equal 'ok', %q{
:ok
}, '[ruby-dev:31816]'
+assert_equal 'ok', %q{
+ Process.setrlimit(Process::RLIMIT_STACK, 1024*1024)
+ class C
+ attr "a" * (2*1024*1024)
+ end
+ :ok
+}, '[ruby-dev:31818]'
+