]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virschematest: Add infrastructure for testing single devices
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Oct 2022 11:32:34 +0000 (13:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 3 Nov 2022 08:19:54 +0000 (09:19 +0100)
commit8daa94cd8ef7871da40d13cdaca4385c483b4f83
tree23f1477d494febeb1cfa744d1c91ecc049468be8
parentd8ceacdc87907a3c8656f7ee815ed32f06fe5c7f
virschematest: Add infrastructure for testing single devices

Introduce an internal schema for a single device and use it to test the
various files in tests/qemuhotplugtestdevices and
tests/qemublocktestdata directories.

This also requires us to implement schema for (some) privateData bits
for the disk source.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/schemas/device.rng.in [new file with mode: 0644]
tests/schemas/meson.build
tests/schemas/privatedata.rng.in [new file with mode: 0644]
tests/virschematest.c