]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxmlactivetest: Add qemu active XML to active/inactive XML tests
authorPeter Krempa <pkrempa@redhat.com>
Mon, 18 Dec 2023 12:36:45 +0000 (13:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Jan 2024 16:31:12 +0000 (17:31 +0100)
commitae87e46a99f7690874e5adb5f66b22d4bc69cf97
tree67b5e76a3668fbeb0a2fef7de91086abe059890f
parenta895686bd1bee69afa23c6c2aebf814d4fdb22f7
qemuxmlactivetest: Add qemu active XML to active/inactive XML tests

Add explicit test cases for XMLs from qemuxml2argvdata which
historically had different output in qemuxml2xmltest.

qemuxmlactivetest explicitly ensures that the input XMLs are parsed in
'live' state and formatted both in inactive as well as live state,
rather than the previously present inactive->inactive,  live->live tests
only.

The XMLs picked in this case are those which had separate output files
in qemuxml2argvtest.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
21 files changed:
tests/qemuxmlactive2xmldata/channel-unix-source-path-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/channel-unix-source-path-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/channel-virtio-state-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/channel-virtio-state-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-active-commit-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-active-commit-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-backing-chains-index-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-backing-chains-index-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-mirror-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-mirror-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-mirror-old-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/disk-mirror-old-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/genid-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/genid-auto-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/genid-auto-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/genid-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/graphics-vnc-remove-generated-socket-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/graphics-vnc-remove-generated-socket-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/seclabel-static-labelskip-active.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactive2xmldata/seclabel-static-labelskip-inactive.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlactivetest.c