diff options
| author | Mike McQuaid | 2013-12-20 15:22:00 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-20 15:22:00 +0000 |
| commit | 4401ee08191fa84b339ae4af33719f71c6a6bd17 (patch) | |
| tree | cf1568c8407faebd8cbb736841536c80a185434b /Library/Contributions/cmd | |
| parent | f853ec73657559dbdec7eb10b0d91509c48240f0 (diff) | |
| download | brew-4401ee08191fa84b339ae4af33719f71c6a6bd17.tar.bz2 | |
brew-test-bot: remove form feed properly.
Diffstat (limited to 'Library/Contributions/cmd')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 10a3c3087..73ea34c4d 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 |
