1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
naruse 2008-07-27 13:24:18 +00:00
parent 845e5766dc
commit 99c3a01dc7
2 changed files with 8 additions and 2 deletions

View file

@ -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.

View file

@ -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]'