diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 07:21:38 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 07:21:38 +0000 |
commit | bacc7e6a42073d60107e4a385a40807b2ba52e91 (patch) | |
tree | d1e7778d27fa7ccbf5bda61ad662dac0153a292f /test/ruby | |
parent | 65269855223a070eeb185cc223f54b2eac1b0160 (diff) | |
download | ruby-bacc7e6a42073d60107e4a385a40807b2ba52e91.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_require.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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") |