[PATCH 28/30] qemublocktest: XMLjsonXML: Test formatting/parsing of modern JSON

Ján Tomko jtomko at redhat.com
Fri Mar 13 06:06:42 UTC 2020


On a Monday in 2020, Peter Krempa wrote:
>The test was invoking the JSON formatter with the 'legacy' flag thus
>formatting bunch of obsolete JSON blockdev definitions. We also should
>test the modern ones. Add a boolean and re-run all the tests in both
>cases.
>
>Additionally for any modern invocation we should also validate that the
>output conforms to the QAPI schema.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/qemublocktest.c | 28 +++++++++++++++++++++++++++-
> 1 file changed, 27 insertions(+), 1 deletion(-)
>

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

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200313/bfc554ac/attachment-0001.sig>


More information about the libvir-list mailing list