diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-30 05:06:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-30 05:06:43 +0000 |
commit | 3a01b9ec912ba82dca72e0a033170f70d88703f2 (patch) | |
tree | 1b9f350475872236b928e367c9f42c3d01630e47 /test/ruby/test_process.rb | |
parent | e5d61a862ba3f9b74ec29101c898a359ca8ae933 (diff) | |
download | ruby-3a01b9ec912ba82dca72e0a033170f70d88703f2.tar.gz |
win32: UTF-8 spawn
* test/ruby/test_process.rb (test_spawn_nonascii): assertions for
non-ascii arguments. [ruby-core:24309] [Bug #1771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 8c70e8412f..9a01b60acd 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -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? |