1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Set ASCII-8BIT encoding.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-10-16 12:27:43 +00:00
parent 53da7250ed
commit 4c02456b3d

View file

@ -18,6 +18,7 @@ class TestBugReporter < Test::Unit::TestCase
"-C", tmpdir]
stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$; sleep"
_, stderr, status = EnvUtil.invoke_ruby(args, stdin, false, true)
stderr.force_encoding("ASCII-8BIT")
assert_pattern_list(expected_stderr, stderr)
ensure
FileUtils.rm_rf(tmpdir) if tmpdir