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
parent 9682e29cf2
commit ea7285f1c0

View File

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