diff options
-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 |