qemuhotplugtest: detach: Add expected 'object-del' to disk-scsi-multipath case

The test verifies unplug of a disk with the persistent reservations
helper. The 'object-del' used to remove the helper was not mentioned in
the list of expected commands.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa 2020-04-23 12:03:21 +02:00
parent 3fb999e20d
commit 3e9784a01b

View File

@ -763,7 +763,8 @@ mymain(void)
"human-monitor-command", HMP(""));
DO_TEST_DETACH("base-live", "disk-scsi-multipath", false, false,
"device_del", QMP_DEVICE_DELETED("scsi0-0-0-0") QMP_OK,
"human-monitor-command", HMP(""));
"human-monitor-command", HMP(""),
"object-del", QMP_OK);
DO_TEST_ATTACH("base-live", "qemu-agent", false, true,
"chardev-add", QMP_OK,