brew-test-bot: strip bell/alert character.
This commit is contained in:
parent
12b5de391e
commit
eebef9b2d4
@ -522,7 +522,7 @@ if ARGV.include? "--junit"
|
||||
failure = testcase.add_element 'failure' if step.failed?
|
||||
if step.has_output?
|
||||
# Remove invalid XML CData characters from step output.
|
||||
output = REXML::CData.new step.output.delete("\000\b\e\f")
|
||||
output = REXML::CData.new step.output.delete("\000\a\b\e\f")
|
||||
if step.passed?
|
||||
system_out = testcase.add_element 'system-out'
|
||||
system_out.text = output
|
||||
|
Loading…
x
Reference in New Issue
Block a user