summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-27 13:24:18 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-27 13:24:18 +0000
commited032c3fdc9e1b040f05c81972ab650bb1a03577 (patch)
tree43ac85043741b98236f5d96c9790a100a8e1420b /bootstraptest
parent1e44ac228669edf4be57f91a7fca43d07a375fce (diff)
downloadruby-ed032c3fdc9e1b040f05c81972ab650bb1a03577.tar.gz
ruby-ed032c3fdc9e1b040f05c81972ab650bb1a03577.tar.xz
ruby-ed032c3fdc9e1b040f05c81972ab650bb1a03577.zip
* bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
because FreeBSD fails this less than that. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_method.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index 28cd2fbaf..5bc0f8cce 100644
--- a/bootstraptest/test_method.rb
+++ b/bootstraptest/test_method.rb
@@ -997,12 +997,13 @@ assert_equal 'ok', %q{
assert_normal_exit %q{
begin
- Process.setrlimit(Process::RLIMIT_STACK, 1024*1024)
+ Process.setrlimit(Process::RLIMIT_STACK, 4_202_496)
+ # FreeBSD fails this less than 4M + 8K bytes.
rescue Exception
exit
end
class C
- attr "a" * (2*1024*1024)
+ attr "a" * (10*1024*1024)
end
}, '[ruby-dev:31818]'