зеркало из https://github.com/github/ruby.git
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
787e40097b
Коммит
e652ecfac7
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче