Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
787e40097b
commit
e652ecfac7
@ -547,8 +547,8 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
h = {}
|
h = {}
|
||||||
ios.length.times {|i| h[ios[i]] = ios[(i-1)%ios.length] }
|
ios.length.times {|i| h[ios[i]] = ios[(i-1)%ios.length] }
|
||||||
h2 = h.invert
|
h2 = h.invert
|
||||||
rios = pipes.map {|r, w| r }
|
_rios = pipes.map {|r, w| r }
|
||||||
wios = pipes.map {|r, w| w }
|
wios = pipes.map {|r, w| w }
|
||||||
child_wfds = wios.map {|w| h2[w].fileno }
|
child_wfds = wios.map {|w| h2[w].fileno }
|
||||||
pid = spawn(RUBY, "-e",
|
pid = spawn(RUBY, "-e",
|
||||||
"[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h)
|
"[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h)
|
||||||
@ -563,8 +563,8 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
h = {}
|
h = {}
|
||||||
ios.length.times {|i| h[ios[i]] = ios[(i+1)%ios.length] }
|
ios.length.times {|i| h[ios[i]] = ios[(i+1)%ios.length] }
|
||||||
h2 = h.invert
|
h2 = h.invert
|
||||||
rios = pipes.map {|r, w| r }
|
_rios = pipes.map {|r, w| r }
|
||||||
wios = pipes.map {|r, w| w }
|
wios = pipes.map {|r, w| w }
|
||||||
child_wfds = wios.map {|w| h2[w].fileno }
|
child_wfds = wios.map {|w| h2[w].fileno }
|
||||||
pid = spawn(RUBY, "-e",
|
pid = spawn(RUBY, "-e",
|
||||||
"[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h)
|
"[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user