summaryrefslogtreecommitdiff
path: root/test/-ext-/bug_reporter/test_bug_reporter.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-16 12:27:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-16 12:27:43 +0000
commit4c02456b3db04e8cdbe62a7bdaf9c3b49b15d3ef (patch)
treee5688340011887a229821c6cd1cb5b972d6738d5 /test/-ext-/bug_reporter/test_bug_reporter.rb
parent53da7250ed09b2c154591870804ab4c98b64b053 (diff)
Set ASCII-8BIT encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/bug_reporter/test_bug_reporter.rb')
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index 53786252a8..c67dce1e2b 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -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