[libvirt PATCH 9/9] tests: Add tests for unknown elements and attributes in cpu defintion

Peter Krempa pkrempa at redhat.com
Tue Sep 29 09:22:29 UTC 2020


On Mon, Sep 21, 2020 at 15:07:32 +0200, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---

[...]

> diff --git a/tests/cputestdata/x86_64-bogus-element.xml b/tests/cputestdata/x86_64-bogus-element.xml
> new file mode 100644
> index 0000000000..79f98bad18
> --- /dev/null
> +++ b/tests/cputestdata/x86_64-bogus-element.xml
> @@ -0,0 +1,3 @@
> +<cpu>
> +  <nonExistantElement/>
> +</cpu>

I'm not persuaded that there's value in such test.




More information about the libvir-list mailing list