[libvirt] [PATCH 11/11] tests: qemumonitorjson: Do some useful testing in the 'simple' tests

Ján Tomko jtomko at redhat.com
Thu Mar 22 20:42:05 UTC 2018


On Thu, Mar 22, 2018 at 07:31:48PM +0100, Peter Krempa wrote:
>The 'simple' monitor tests were quite useless, since the code did not
>even check whether the correct command was called.
>
>This patch uses the QAPI schema validator to validate that the arguments
>are in format according to the schema.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/qemumonitorjsontest.c | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180322/dc848322/attachment-0001.sig>


More information about the libvir-list mailing list