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

FreeBSD 10 SEGVs this less than 4M + 12K bytes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-01-15 01:57:59 +00:00
parent 622db848ce
commit 4892d046e5

View file

@ -957,8 +957,8 @@ assert_equal 'ok', %q{
assert_normal_exit %q{
begin
Process.setrlimit(Process::RLIMIT_STACK, 4_202_496)
# FreeBSD fails this less than 4M + 8K bytes.
Process.setrlimit(Process::RLIMIT_STACK, 4_206_592)
# FreeBSD SEGVs this less than 4M + 12K bytes.
rescue Exception
exit
end