summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-18 21:41:53 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-18 21:41:53 +0000
commit10dac7691429decfe4cd0052ebdecf651bfc1ace (patch)
treee6ed0f9815ccb058bb54711bf7ffe862bda50013 /test/ruby/test_process.rb
parent37c5197b9f24ee152660909ed97c51b38baa5128 (diff)
merge revision(s) 53391: [Backport #11898]
skip if locale is not UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index c8b4b7d343..55cb15d4b5 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
+ end if Encoding.find('locale') == Encoding::UTF_8
def test_execopts_open_failure
with_tmpchdir {|d|