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

* test/ripper/test_parser_events.rb (TestRipper#test_block_variables):

Limit address space 100MB instead 100KB. Quite frankly, This margin
	  is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159]




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2010-12-14 18:21:31 +00:00
parent 61906b0ec3
commit b2f69c4c1f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Wed Dec 15 03:41:31 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ripper/test_parser_events.rb (TestRipper#test_block_variables):
Limit address space 100MB instead 100KB. Quite frankly, This
margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159]
Tue Dec 14 23:53:52 2010 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (simple_sendfile): improve linux compatibility on FreeBSD,

View file

@ -1097,7 +1097,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
assert_equal("[fcall(proc,[],&block([],[void()]))]", parse("proc{|;y|}"))
if defined?(Process::RLIMIT_AS)
assert_in_out_err(["-I#{File.dirname(__FILE__)}", "-rdummyparser"],
'Process.setrlimit(Process::RLIMIT_AS,102400); puts DummyParser.new("proc{|;y|!y}").parse',
'Process.setrlimit(Process::RLIMIT_AS,100*1024*1024); puts DummyParser.new("proc{|;y|!y}").parse',
["[fcall(proc,[],&block([],[unary(!,ref(y))]))]"], [], '[ruby-dev:39423]')
end
end