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

Andrea Bolognani abologna at redhat.com
Thu Jun 20 09:55:08 UTC 2019


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 report a proper error if someone tries
> to run this function for the guest agent without properly wiring it up.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  tests/qemumonitortestutils.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list