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")