From 3e9784a01b8d0edd12b6f0cfce26a0bae771ef7a Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 23 Apr 2020 12:03:21 +0200 Subject: [PATCH] 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 Reviewed-by: Michal Privoznik --- tests/qemuhotplugtest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c index 9a787f9d11..628689d27a 100644 --- a/tests/qemuhotplugtest.c +++ b/tests/qemuhotplugtest.c @@ -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,