From d7b449de0df5fbe626501383788506a05a2a8139 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 30 Dec 2015 19:06:55 +0000 Subject: skip if locale is not UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_process.rb') 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| -- cgit v1.2.3