diff options
| author | Mike McQuaid | 2013-10-09 09:04:31 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-09 09:04:39 +0100 |
| commit | 88e5c4c333c72238e4e93116fdecf45194310539 (patch) | |
| tree | 6915079e90ffe103928cc98322a7e4849716c804 /Library | |
| parent | 9bd507b7be9effd0f373d2ae39401530d922c20b (diff) | |
| download | brew-88e5c4c333c72238e4e93116fdecf45194310539.tar.bz2 | |
brew-test-bot: remove escape characters.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index f0e60da89..43594a419 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -411,8 +411,8 @@ if ARGV.include? "--junit" testcase.attributes['time'] = step.time failure = testcase.add_element 'failure' if step.failed? if step.has_output? - # Remove null characters from step output. - output = REXML::CData.new step.output.delete("\000") + # Remove invalid XML CData characters from step output. + output = REXML::CData.new step.output.delete("\000\e") if step.passed? system_out = testcase.add_element 'system-out' system_out.text = output |
