suppress warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2015-07-21 23:24:02 +00:00
parent e4198a73d4
commit 30223e7f68

View File

@ -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