[PATCH 12/12] virschematest: Add infrastructure for testing single devices

Ján Tomko jtomko at redhat.com
Wed Nov 2 13:45:30 UTC 2022


On a Tuesday in 2022, Peter Krempa wrote:
>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 at redhat.com>
>---
> tests/schemas/device.rng.in      | 51 ++++++++++++++++++++++++
> tests/schemas/meson.build        |  2 +
> tests/schemas/privatedata.rng.in | 68 ++++++++++++++++++++++++++++++++
> tests/virschematest.c            |  7 ++++
> 4 files changed, 128 insertions(+)
> create mode 100644 tests/schemas/device.rng.in
> create mode 100644 tests/schemas/privatedata.rng.in
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list