aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 06:08:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 06:08:59 +0000
commit1ccaef99387466be96e2fe89f02d55e074bea227 (patch)
tree24ab96535f29f43a9ac203b5b2ece5392714d7fd /test/ruby
parent40b1aa9adf04fbd02dcd4bab1197659625951200 (diff)
downloadruby-1ccaef99387466be96e2fe89f02d55e074bea227.tar.gz
test_io.rb: get rid of error message
* test/ruby/test_io.rb (TestIO#test_pid_after_close_read): get rid of broken pipe error message from invoked command, by let it exit silently. echo in cmd.exe does not interpret double quotes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-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 1351ee12a9..ecc4a97eb2 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(["echo", ""], "r+") do |io|
+ IO.popen(["exit"], "r+") do |io|
pid1 = io.pid
io.close_read
pid2 = io.pid