aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 08:14:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 08:14:01 +0000
commitf14c312b587b7a61d89259a6753dd25c806cbfe2 (patch)
treea9f3351758d426e71bd65572cdcca5e076cd2230 /test
parent6b5d5e53223eb4c50832f6e1f24a66638131a44e (diff)
downloadruby-f14c312b587b7a61d89259a6753dd25c806cbfe2.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
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