]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2conftest: Test re-parsing of formatted XML
authorPeter Krempa <pkrempa@redhat.com>
Mon, 18 Dec 2023 15:38:46 +0000 (16:38 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Jan 2024 16:31:12 +0000 (17:31 +0100)
commit0e3fde136cdec418e2eb8c6894600907b96cf8c5
tree3328d508b98b63695ef3c81338b9f9523ca0c7a3
parent55839c154d28ff1b158e5383835e81946fca4064
qemuxml2conftest: Test re-parsing of formatted XML

Re-parse and re-format the output XML to validate that the auto-added
bits and the formatter always agree. There's no way to specify an
alternative output file as a libvirt-formatted XML must be reformatted
identically.

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