diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-16 13:18:44 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-16 13:18:44 +0000 |
commit | 6338a3a4a4c0d8b37a07545421a425027c85f651 (patch) | |
tree | 6ec14089f77879ee990e34121aa13280169d3b6b | |
parent | 4c02456b3db04e8cdbe62a7bdaf9c3b49b15d3ef (diff) | |
download | ruby-6338a3a4a4c0d8b37a07545421a425027c85f651.tar.gz |
Set an encoding for SEGV message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 8539835f75..45a1612697 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -556,6 +556,7 @@ class TestRubyOptions < Test::Unit::TestCase opt = SEGVTest::ExecOptions.dup _, stderr, status = EnvUtil.invoke_ruby(args, test_stdin, false, true, **opt) + stderr.force_encoding("ASCII-8BIT") if signo = status.termsig sleep 0.1 |