]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virschematest: Add possibility to have exceptions from the '-invalid' suffix
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 Dec 2023 20:47:17 +0000 (21:47 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Jan 2024 15:22:55 +0000 (16:22 +0100)
commitad42a7e074bdba21afb4b20de8f63a8fa7e565de
treed7023890b0a9cf55495269c74a3ee71b45166ce0
parent3a45455558d74b2cb351c74cab472ac654f54708
virschematest: Add possibility to have exceptions from the '-invalid' suffix

The exception is needed in qemuxml2xmltest which is in one instance
testing update from an invalid config to a valid one. Currently the
compliance with the test is achieved via a hack.

As further patches will be simpler without the hack present we need a
way to invert the expected output in specific cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid-inactive.x86_64-latest.xml [deleted symlink]
tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid.x86_64-latest.xml [moved from tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid-active.x86_64-latest.xml with 100% similarity]
tests/virschematest.c