Skip to content
Snippets Groups Projects
Commit d9b1ff23 authored by Russell Bryant's avatar Russell Bryant
Browse files

Put test output for a failure in a CDATA section in the XML results.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 48edf2c7
Branches
Tags
No related merge requests found
......@@ -186,7 +186,7 @@ static void test_xml_entry(struct ast_test *test, FILE *f)
test->state == AST_TEST_PASS ? "/" : "");
if (test->state == AST_TEST_FAIL) {
fprintf(f, "\t\t<failure>%s</failure>\n",
fprintf(f, "\t\t<failure><![CDATA[\n%s\n\t\t]]></failure>\n",
S_OR(ast_str_buffer(test->status_str), "NA"));
fprintf(f, "\t</testcase>\n");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment