summaryrefslogtreecommitdiff
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
commit9b268cdbca9147515fca783448e66bb1aaa96677 (patch)
tree6e64c686877d68d6a1a601218fc377387da9d21b /bootstraptest
parentf610ff5a397a8f980524ad082bef07e752595e1a (diff)
add test for [ruby-dev:31818].
git-svn-id: svn+ssh://ci.ruby-lang.org/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 710331427a..89a643a4e7 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]'
+