]> xenbits.xensource.com Git - libvirt.git/commit
qemudomainsnapshotxml2xmltest: Allow regenerating into non-existing output file
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Aug 2022 09:05:39 +0000 (11:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Sep 2022 11:11:09 +0000 (13:11 +0200)
commitbbda8bea04c8d9b1b6814cd44b64938aaf0868ae
tree8e4019f11d85b15b030729b869f5f7890a5e1f94
parent41460774ea925377c95f41455bf885a395a38d46
qemudomainsnapshotxml2xmltest: Allow regenerating into non-existing output file

Replacing the 'virTestLoadFile' + 'virTestDifferenceFull' by '
virTestCompareToFile' allows to use the VIR_TEST_REGENERATE_OUTPUT=1
option to also generate the output file if it doesn't exist.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemudomainsnapshotxml2xmltest.c