ruby-changes:18657
From: kosaki <ko1@a...>
Date: Fri, 28 Jan 2011 01:36:28 +0900 (JST)
Subject: [ruby-changes:18657] Ruby:r30682 (trunk): * test/ruby/test_process.rb (TestProcess#test_too_long_path)
kosaki 2011-01-28 01:36:21 +0900 (Fri, 28 Jan 2011) New Revision: 30682 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30682 Log: * test/ruby/test_process.rb (TestProcess#test_too_long_path) TestProcess#test_too_long_path): Reduced string size from 100MB to 10MB. 100MB may cause no memory error. It isn't intended. Modified files: trunk/ChangeLog trunk/test/ruby/test_process.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30681) +++ ChangeLog (revision 30682) @@ -1,3 +1,9 @@ +Fri Jan 28 01:33:51 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * test/ruby/test_process.rb (TestProcess#test_too_long_path) + TestProcess#test_too_long_path): Reduced string size from 100MB + to 10MB. 100MB may cause no memory error. It isn't intended. + Fri Jan 28 01:27:42 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * test/ruby/test_process.rb (TestProcess#test_too_long_path2): Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 30681) +++ test/ruby/test_process.rb (revision 30682) @@ -1234,11 +1234,11 @@ def test_too_long_path bug4314 = '[ruby-core:34842]' - assert_raise(Errno::ENOENT, bug4314) {Process.spawn("a" * 100_000_000)} + assert_raise(Errno::ENOENT, bug4314) {Process.spawn("a" * 10_000_000)} end def test_too_long_path2 bug4315 = '[ruby-core:34833]' - assert_raise(Errno::ENOENT, bug4315) {Process.spawn('"a"|'*100_000_000)} + assert_raise(Errno::ENOENT, bug4315) {Process.spawn('"a"|'*10_000_000)} end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/