From bacc7e6a42073d60107e4a385a40807b2ba52e91 Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 28 Jan 2011 07:21:38 +0000 Subject: [PATCH] * test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}): Added -w option because too long path error don't output a message by default since r30660. [Bug #4336] [ruby-dev:43134] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ test/ruby/test_require.rb | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aeda178b4b..5e65b3055a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Jan 28 16:19:38 2011 KOSAKI Motohiro + + * test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}): + Added -w option because too long path error don't output a message + by default since r30660. [Bug #4336] [ruby-dev:43134] + Fri Jan 28 16:04:54 2011 KOSAKI Motohiro * test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2,3}): diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index 5ce51183f2..f9cda4ea44 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -52,7 +52,7 @@ class TestRequire < Test::Unit::TestCase ENV["RUBYPATH"] = "~" ENV["HOME"] = "/foo" * 2500 - assert_in_out_err(%w(-S test_ruby_test_require), "", [], pathname_too_long) + assert_in_out_err(%w(-S -w test_ruby_test_require), "", [], pathname_too_long) ensure env_rubypath ? ENV["RUBYPATH"] = env_rubypath : ENV.delete("RUBYPATH") @@ -65,7 +65,7 @@ class TestRequire < Test::Unit::TestCase ENV["RUBYPATH"] = "~" + "/foo" * 2500 ENV["HOME"] = "/foo" - assert_in_out_err(%w(-S test_ruby_test_require), "", [], pathname_too_long) + assert_in_out_err(%w(-S -w test_ruby_test_require), "", [], pathname_too_long) ensure env_rubypath ? ENV["RUBYPATH"] = env_rubypath : ENV.delete("RUBYPATH")