From f14c312b587b7a61d89259a6753dd25c806cbfe2 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Oct 2013 08:14:01 +0000 Subject: test_io.rb: fix r43164 * test/ruby/test_io.rb (test_pid_after_close_read): fix rr43164 for platforms other than Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index ecc4a97eb2..718cddf7fc 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1411,7 +1411,7 @@ class TestIO < Test::Unit::TestCase def test_pid_after_close_read pid1 = pid2 = nil - IO.popen(["exit"], "r+") do |io| + IO.popen("exit ;", "r+") do |io| pid1 = io.pid io.close_read pid2 = io.pid -- cgit v1.2.3