Re: [libvirt] [PATCH 2/3] tests: qemuMonitorTestProcessCommandDefaultValidate: simplify condition

2019-06-20 Thread Andrea Bolognani
On Wed, 2019-06-19 at 22:43 +0200, Ján Tomko wrote: > We return success when running this function for either non-JSON monitor > testing or guest agent testing. > > However we no longer test HMP monitor and we do not try to validate > the guest agent interaction. > > Drop the test->json check and

[libvirt] [PATCH 2/3] tests: qemuMonitorTestProcessCommandDefaultValidate: simplify condition

2019-06-19 Thread Ján Tomko
We return success when running this function for either non-JSON monitor testing or guest agent testing. However we no longer test HMP monitor and we do not try to validate the guest agent interaction. Drop the test->json check and report a proper error if someone tries to run this function for t