suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4198a73d4
commit
30223e7f68
@ -572,7 +572,7 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
t2 = Thread.new {
|
t2 = Thread.new {
|
||||||
IO.popen([*CAT, :in=>"fifo"]) {|f| f.read }
|
IO.popen([*CAT, :in=>"fifo"]) {|f| f.read }
|
||||||
}
|
}
|
||||||
v1, v2 = assert_join_threads([t1, t2])
|
_, v2 = assert_join_threads([t1, t2])
|
||||||
assert_equal("output to fifo\n", v2)
|
assert_equal("output to fifo\n", v2)
|
||||||
}
|
}
|
||||||
end unless windows? # does not support fifo
|
end unless windows? # does not support fifo
|
||||||
@ -2060,7 +2060,7 @@ EOS
|
|||||||
th.kill
|
th.kill
|
||||||
th.join(0.1)
|
th.join(0.1)
|
||||||
}
|
}
|
||||||
assert_equal(th, x)
|
assert_equal(th, x, bug11166)
|
||||||
end if defined?(fork)
|
end if defined?(fork)
|
||||||
|
|
||||||
def test_exec_fd_3_redirect
|
def test_exec_fd_3_redirect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user