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

ruby-changes:29660

From: nobu <ko1@a...>
Date: Sun, 30 Jun 2013 14:06:52 +0900 (JST)
Subject: [ruby-changes:29660] nobu:r41712 (trunk): win32: UTF-8 spawn

nobu	2013-06-30 14:06:43 +0900 (Sun, 30 Jun 2013)

  New Revision: 41712

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

  Log:
    win32: UTF-8 spawn
    
    * test/ruby/test_process.rb (test_spawn_nonascii): assertions for
      non-ascii arguments.  [ruby-core:24309] [Bug #1771]

  Modified files:
    trunk/test/ruby/test_process.rb

Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 41711)
+++ test/ruby/test_process.rb	(revision 41712)
@@ -1631,6 +1631,8 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1631
         assert_equal("ok\n", `#{exename} /c echo ok`, msg)
         assert_equal("ok\n", IO.popen("#{exename} /c echo ok", &:read), msg)
         assert_equal("ok\n", IO.popen(%W"#{exename} /c echo ok", &:read), msg)
+        File.binwrite("#{name}.txt", "ok")
+        assert_equal("ok", `type #{name}.txt`)
       end
     end
   end if windows?

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

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