[libvirt] [PATCH 3/4] tests: More output options for xml2xml tests

Peter Krempa pkrempa at redhat.com
Tue Apr 22 11:36:31 UTC 2014


On 04/21/14 10:32, Jiri Denemark wrote:
> So far, qemuxml2xml test was only able to check if the result matches
> the original or the appropriate XML in qemuxml2xmloutdata regardless on
> flags used to format the XML. Since the result can be different
> depending on VIR_DOMAIN_XML_INACTIVE flag being used or not, this patch
> adds support for qemuxml2xmlout-%s-active.xml and
> qemuxml2xmlout-%s-inactive.xml output files. If the file specific to the
> flag used exists, it is used in preference to the generic
> qemuxml2xmlout-%s.xml file when reading the expected output.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  tests/qemuxml2xmltest.c | 44 ++++++++++++++++++++++++++++++++++----------
>  1 file changed, 34 insertions(+), 10 deletions(-)
> 

ACK.

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140422/c12f6d27/attachment-0001.sig>


More information about the libvir-list mailing list