[前][次][番号順一覧][スレッド一覧]

ruby-changes:31095

From: nobu <ko1@a...>
Date: Mon, 7 Oct 2013 17:14:05 +0900 (JST)
Subject: [ruby-changes:31095] nobu:r43174 (trunk): test_io.rb: fix r43164

nobu	2013-10-07 17:14:01 +0900 (Mon, 07 Oct 2013)

  New Revision: 43174

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43174

  Log:
    test_io.rb: fix r43164
    
    * test/ruby/test_io.rb (test_pid_after_close_read): fix rr43164 for
      platforms other than Windows.

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 43173)
+++ test/ruby/test_io.rb	(revision 43174)
@@ -1411,7 +1411,7 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L1411
 
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]