We test this value after block-job-cancel but forget to actually assign
it.

Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>
Acked-by: Kevin Wolf <kw...@redhat.com>
---
 tests/qemu-iotests/030 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030
index 978fd82..8422d66 100755
--- a/tests/qemu-iotests/030
+++ b/tests/qemu-iotests/030
@@ -97,7 +97,7 @@ class TestStreamStop(ImageStreamingTestCase):
         events = self.vm.get_qmp_events(wait=False)
         self.assertEqual(events, [], 'unexpected QMP event: %s' % events)
 
-        self.vm.qmp('block-job-cancel', device='drive0')
+        result = self.vm.qmp('block-job-cancel', device='drive0')
         self.assert_qmp(result, 'return', {})
 
         cancelled = False
-- 
1.7.10


Reply via email to