aboutsummaryrefslogtreecommitdiffstats
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
commit99c3a01dc7053dcc91b74cbab0c7505310ff302f (patch)
tree43ac85043741b98236f5d96c9790a100a8e1420b
parent845e5766dcf9f47b440ba522fc81f1c10c9a24fc (diff)
downloadruby-99c3a01dc7053dcc91b74cbab0c7505310ff302f.tar.gz
* bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
because FreeBSD fails this less than that. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--bootstraptest/test_method.rb5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a679507eba..43ac8e4bc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 27 22:11:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
+ because FreeBSD fails this less than that.
+
Sun Jul 27 21:45:59 2008 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear.
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index 28cd2fbaf6..5bc0f8ccec 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]'