[PATCH v2 4/4] test: Added xml2argv and xml2xml tests.
Michal Prívozník
mprivozn at redhat.com
Tue Apr 5 13:38:14 UTC 2022
On 1/9/22 22:07, Andrew Melnychenko wrote:
> Added rss, hash and rss+hash xml2argv tests.
> virtio-options tests was used for xml2xml test.
>
> Signed-off-by: Andrew Melnychenko <andrew at daynix.com>
> ---
> .../net-virtio-rss.x86_64-latest.args | 43 +++++++++++++++++++
> tests/qemuxml2argvdata/net-virtio-rss.xml | 39 +++++++++++++++++
> .../virtio-options.x86_64-latest.args | 2 +-
> tests/qemuxml2argvdata/virtio-options.xml | 2 +-
> tests/qemuxml2argvtest.c | 2 +
> 5 files changed, 86 insertions(+), 2 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/net-virtio-rss.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/net-virtio-rss.xml
>
> diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
> index 6c67b36d5c..5227f76dce 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -3500,6 +3500,8 @@ mymain(void)
>
> DO_TEST_CAPS_LATEST("devices-acpi-index");
>
> + DO_TEST_CAPS_LATEST("net-virtio-rss");
> +
> if (getenv("LIBVIRT_SKIP_CLEANUP") == NULL)
> virFileDeleteTree(fakerootdir);
>
I'd put this among with the rest of net-* test cases (couple of lines
above).
Michal
More information about the libvir-list
mailing list