]> xenbits.xensource.com Git - libvirt.git/commit
tests: qemuxml2xml: Test status XML formatting and parsing
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2015 12:25:27 +0000 (13:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Mar 2015 14:42:52 +0000 (15:42 +0100)
commit02f0f1ccc71ae53c1b6d8db4ce7270653663ea0c
treedaab9a3bbfce1019d980852457c9ebaa7ad3a537
parent6ff59cbc8367856f12f4eef5755eeccade36d8cf
tests: qemuxml2xml: Test status XML formatting and parsing

Recently we've fixed a bug where the status XML could not be parsed as
the parser used absolute path XPath queries. This test enhancement tests
all XML files used in the qemu-xml-2-xml test as a part of a status XML
snippet to see whether they are parsed correctly. The status XML-2-XML is
currently tested in 223 cases with this patch.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
tests/qemuxml2xmltest.c