We test this value after block-job-cancel but forget to actually assign it.
Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.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 fdd7b3e..88a9b58 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