From 4401ee08191fa84b339ae4af33719f71c6a6bd17 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 20 Dec 2013 15:22:00 +0000 Subject: [PATCH] brew-test-bot: remove form feed properly. --- 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 10a3c3087c..73ea34c4d3 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -474,7 +474,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.gsub(/\000\00c\e/, '') + output = REXML::CData.new step.output.delete(/\000\f\e/) if step.passed? system_out = testcase.add_element 'system-out' system_out.text = output