[PATCH] tests: Report expected monitor command for simulated commands

Ján Tomko jtomko at redhat.com
Fri Jan 14 17:03:47 UTC 2022

On a Wednesday in 2022, Michal Privoznik wrote:
>There are two tests currently that simulate QMP talk:
>qemucapabilitiestest and qemuhotplugtest. In both cases they
>check whether currently executed command is the one for which
>reply was provided. If not an error message is reported. However,
>the error message contains only the actual command and not the
>expected one. This makes it harder to navigate through .replies
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> tests/qemumonitortestutils.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

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

-------------- 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/20220114/8ea7c03b/attachment-0001.sig>

More information about the libvir-list mailing list