]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: detach: Remove commands which are not issued
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2020 08:36:59 +0000 (10:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2020 13:57:36 +0000 (15:57 +0200)
commite2f1e2687fe5c976d1aecbae9350e761f1d1ddc0
treef4f3680b1a210c7c202e3dd58c3c4b133d7612e7
parentb8c02497b3562292c55506945bd69aa04ebee981
qemuhotplugtest: detach: Remove commands which are not issued

The 'human-monitor-command' equates to the 'drive-del' command issued by
the hotplug code on successful detach of a device. This means that it's
not issued for failed attempts and thus should not be added to the
expected list. Unfortunately our test monitor doesn't ensure that all
expected commands were consumed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuhotplugtest.c