diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 4 |
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 |