]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxmlconftest: Add test case for QMP schema validation of -chardev backends
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Sep 2024 12:04:22 +0000 (14:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Sep 2024 08:30:14 +0000 (10:30 +0200)
commitb8129d253035c19b998dd31c085f0ea950cca374
tree2a444dc55de3a151987e3f1d001d2c1e7ab0f090
parente00739ff0d960615494d72846122d6afe3cf2aa0
qemuxmlconftest: Add test case for QMP schema validation of -chardev backends

Use the 'chardev-backends' test data as symlink to invoke the test case
again asserting QEMU_CAPS_CHARDEV_JSON which will make the commandline
generator use the JSON representation of the -chardev backend instead
allowing us to validate it agains the QMP schema.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxmlconfdata/chardev-backends-json.x86_64-latest.args [new file with mode: 0644]
tests/qemuxmlconfdata/chardev-backends-json.x86_64-latest.xml [new symlink]
tests/qemuxmlconfdata/chardev-backends-json.xml [new symlink]
tests/qemuxmlconftest.c