]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Report expected monitor command for simulated commands
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Nov 2021 17:16:32 +0000 (18:16 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 15 Jan 2022 05:33:33 +0000 (06:33 +0100)
commit4f6d5656d321a877bd750858e5d7819c15ec2a2c
treed9c88efb7edd7c3493af42692ffe72f403746c8e
parent6076ca7a0338c01e50f19b03ddc81d312642ecdf
tests: Report expected monitor command for simulated commands

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
files.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemumonitortestutils.c