diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 06:03:15 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 06:03:15 +0000 |
commit | e652ecfac71f0daf752e529dca6a9a0a444e26b3 (patch) | |
tree | 57fb78f9072a45322953427df3b4c18296f3b4fc /test/ruby/test_process.rb | |
parent | 787e40097bc59dbccd8a23f04f07de4965bc1b62 (diff) | |
download | ruby-e652ecfac71f0daf752e529dca6a9a0a444e26b3.tar.gz |
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 1513cf4674..2eb4c56ec7 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -547,8 +547,8 @@ class TestProcess < Test::Unit::TestCase h = {} ios.length.times {|i| h[ios[i]] = ios[(i-1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h) @@ -563,8 +563,8 @@ class TestProcess < Test::Unit::TestCase h = {} ios.length.times {|i| h[ios[i]] = ios[(i+1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h) |