diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 05:05:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 05:05:34 +0000 |
commit | 919bb8e5585984400e32aac9d4a158562b56c9a6 (patch) | |
tree | 6e6e767be1f40e30768c546b00570be452d88bb9 /test/ruby/test_process.rb | |
parent | 7485f7467964570986efcc22f57da433ab48e959 (diff) |
merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
* process.c (rb_execarg_addopt): need to convert to ospath.
* process.c (rb_execarg_parent_start1): need to convert the encoding to
ospath's one.
* process.c (rb_execarg_addopt): need to convert the encoding to
ospath's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54354 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, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 55cb15d4b5..274492674f 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -433,7 +433,7 @@ class TestProcess < Test::Unit::TestCase assert_file.not_exist?("テスト/open_chdir_テスト") assert_equal("#{d}/テスト", File.read("open_chdir_テスト").chomp.encode(__ENCODING__)) } - end if Encoding.find('locale') == Encoding::UTF_8 + end if windows? || Encoding.find('locale') == Encoding::UTF_8 def test_execopts_open_failure with_tmpchdir {|d| |