From eebef9b2d4e575f62dd9e55cdcd29cfd3f4935e1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 4 Jun 2014 16:21:20 +0100 Subject: [PATCH] brew-test-bot: strip bell/alert character. --- Library/Contributions/cmd/brew-test-bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index efcc8a984a..a9ad48ae2c 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -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