tests: Enable failure testing with CompareDomXML2XML

This allows tests to check for specific failure scenarios
This commit is contained in:
Cole Robinson
2016-04-08 12:04:10 -04:00
parent d0cc8b10c3
commit c493d21642
6 changed files with 57 additions and 20 deletions

View File

@@ -46,7 +46,8 @@ testCompareXMLToXMLHelper(const void *data)
ret = testCompareDomXML2XMLFiles(caps, xmlopt, xml_in,
info->different ? xml_out : xml_in,
!info->inactive_only,
NULL, NULL, info->parse_flags);
NULL, NULL, info->parse_flags,
TEST_COMPARE_DOM_XML2XML_RESULT_SUCCESS);
cleanup:
VIR_FREE(xml_in);
VIR_FREE(xml_out);