Bug 1094526 - remove extra \n chars from xpcshell test output. r=chmanchester

This commit is contained in:
Mark Hammond 2014-11-06 14:56:32 +11:00
Родитель 9682e29cf2
Коммит ea7285f1c0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -489,7 +489,7 @@ class XPCShellTestThread(Thread):
"""Log a line of output (either a parser json object or text output from """Log a line of output (either a parser json object or text output from
the test process""" the test process"""
if isinstance(line, basestring): if isinstance(line, basestring):
line = cleanup_encoding(line) line = cleanup_encoding(line).rstrip("\r\n")
self.log.process_output(self.proc_ident, self.log.process_output(self.proc_ident,
line, line,
command=self.complete_command) command=self.complete_command)