diff --git a/automation/scripts/run-tools-tests b/automation/scripts/run-tools-tests index 2bca1589db..18687f61a3 100755 --- a/automation/scripts/run-tools-tests +++ b/automation/scripts/run-tools-tests @@ -25,9 +25,10 @@ for f in "$1"/*; do echo "FAILED: $f" failed+=" $f" printf ' \n' "$f" "$ret" >> "$xml_out" - # TODO: could use xml escaping... but current tests seems to - # produce sane output + printf '> "$xml_out" + # TODO: Escape ']]>' if necessary cat /tmp/out >> "$xml_out" + printf ']]>\n' >> "$xml_out" printf ' \n' >> "$xml_out" else echo "PASSED"