1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

win32: UTF-8 spawn

* test/ruby/test_process.rb (test_spawn_nonascii): assertions for
  non-ascii arguments.  [ruby-core:24309] [Bug ]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-06-30 05:06:43 +00:00
parent e5d61a862b
commit 3a01b9ec91

View file

@ -1631,6 +1631,8 @@ EOS
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?