1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_process.rb: suppress warnings

* test/ruby/test_process.rb (test_exec_close_reserved_fd):
  suppress "cannot close fd before spawn" warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-09-06 06:00:12 +00:00
parent f476726323
commit 2bfc88a45e

View file

@ -2094,6 +2094,7 @@ EOS
(3..6).each do |i|
ret = run_in_child(<<-INPUT)
begin
$VERBOSE = nil
Process.exec('#{cmd}', 'dummy', #{i} => :close)
rescue SystemCallError
end