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

2018-03-22 Thread Ján Tomko
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.

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

2018-03-22 Thread Peter Krempa
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 ---