Signed-off-by: Marc-André Lureau <[email protected]>
---
tests/qemu-iotests/132 | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/132 b/tests/qemu-iotests/132
index 3756573a57c0..579f6a3bdd09 100755
--- a/tests/qemu-iotests/132
+++ b/tests/qemu-iotests/132
@@ -49,7 +49,7 @@ class TestSingleDrive(iotests.QMPTestCase):
def test_mirror_discard(self):
self.vm.cmd('drive-mirror', device='drive0', sync='full',
target=target_img)
- self.vm.hmp_qemu_io('drive0', 'discard 0 64k')
+ self.vm.qmp_qemu_io('drive0', 'discard 0 64k')
self.complete_and_wait('drive0')
self.vm.shutdown()
self.assertTrue(iotests.compare_images(test_img, target_img),
@@ -57,5 +57,4 @@ class TestSingleDrive(iotests.QMPTestCase):
if __name__ == '__main__':
iotests.main(supported_fmts=['raw', 'qcow2'],
- supported_protocols=['file'],
- require_hmp=True)
+ supported_protocols=['file'])
--
2.56.0.rc0.29.g47ce80527c56