aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-12 10:06:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-12 10:06:29 +0000
commit395d7bb34624d69bf54e121a4f385ef84537e996 (patch)
treeafc0917e0bc771f3064b5f9c0d5b7e5060244046
parent75bed271f0719642f1866bdbbfa3c9940aad9abb (diff)
downloadruby-395d7bb34624d69bf54e121a4f385ef84537e996.tar.gz
Suppress warning: too long path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 46c194f83d..682b32f5c4 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1381,7 +1381,9 @@ class TestProcess < Test::Unit::TestCase
bug4314 = '[ruby-core:34842]'
exs = [Errno::ENOENT]
exs << Errno::E2BIG if defined?(Errno::E2BIG)
- assert_raise(*exs, bug4314) {Process.spawn("a" * 10_000_000)}
+ EnvUtil.suppress_warning do
+ assert_raise(*exs, bug4314) {Process.spawn("a" * 10_000_000)}
+ end
end
def test_too_long_path2