ruby-changes:35900
From: akr <ko1@a...>
Date: Thu, 16 Oct 2014 22:18:51 +0900 (JST)
Subject: [ruby-changes:35900] akr:r47981 (trunk): Set an encoding for SEGV message.
akr 2014-10-16 22:18:44 +0900 (Thu, 16 Oct 2014) New Revision: 47981 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47981 Log: Set an encoding for SEGV message. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 47980) +++ test/ruby/test_rubyoptions.rb (revision 47981) @@ -556,6 +556,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L556 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/