skip if locale is not UTF-8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2015-12-30 19:06:55 +00:00
parent 5da0e86396
commit 2fad016810

View file

@ -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|