mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemuhotplugtest: Remove 'drive_del' expectation from failed cases
On failure 'drive_del' is not issued. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b4ee473578
commit
0bb29de6ba
@ -748,8 +748,7 @@ mymain(void)
|
|||||||
/* Disk added */
|
/* Disk added */
|
||||||
"device_add", QMP_OK);
|
"device_add", QMP_OK);
|
||||||
DO_TEST_DETACH("base-with-scsi-controller-live", "disk-scsi-2", true, true,
|
DO_TEST_DETACH("base-with-scsi-controller-live", "disk-scsi-2", true, true,
|
||||||
"device_del", QMP_OK,
|
"device_del", QMP_OK);
|
||||||
"human-monitor-command", HMP(""));
|
|
||||||
DO_TEST_DETACH("base-with-scsi-controller-live", "disk-scsi-2", false, false,
|
DO_TEST_DETACH("base-with-scsi-controller-live", "disk-scsi-2", false, false,
|
||||||
"device_del", QMP_DEVICE_DELETED("scsi3-0-5-6") QMP_OK,
|
"device_del", QMP_DEVICE_DELETED("scsi3-0-5-6") QMP_OK,
|
||||||
"human-monitor-command", HMP(""));
|
"human-monitor-command", HMP(""));
|
||||||
@ -759,8 +758,7 @@ mymain(void)
|
|||||||
"human-monitor-command", HMP("OK\\r\\n"),
|
"human-monitor-command", HMP("OK\\r\\n"),
|
||||||
"device_add", QMP_OK);
|
"device_add", QMP_OK);
|
||||||
DO_TEST_DETACH("base-live", "disk-scsi-multipath", true, true,
|
DO_TEST_DETACH("base-live", "disk-scsi-multipath", true, true,
|
||||||
"device_del", QMP_OK,
|
"device_del", QMP_OK);
|
||||||
"human-monitor-command", HMP(""));
|
|
||||||
DO_TEST_DETACH("base-live", "disk-scsi-multipath", false, false,
|
DO_TEST_DETACH("base-live", "disk-scsi-multipath", false, false,
|
||||||
"device_del", QMP_DEVICE_DELETED("scsi0-0-0-0") QMP_OK,
|
"device_del", QMP_DEVICE_DELETED("scsi0-0-0-0") QMP_OK,
|
||||||
"human-monitor-command", HMP(""),
|
"human-monitor-command", HMP(""),
|
||||||
|
Loading…
Reference in New Issue
Block a user