From: Russell Bryant Date: Tue, 23 Mar 2010 22:35:56 +0000 (+0000) Subject: Put test output for a failure in a CDATA section in the XML results. X-Git-Tag: 11.0.0-beta1~3243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b1ff23badb9eeb36e5ff70a904337118230896;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/test.c b/main/test.c index 766775c7aa..3427bf205d 100644 --- a/main/test.c +++ b/main/test.c @@ -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%s\n", + fprintf(f, "\t\t\n", S_OR(ast_str_buffer(test->status_str), "NA")); fprintf(f, "\t\n"); }