Skip to contentSkip to conversation

block: fix qemu-iotests 030 failure

PATCH In review Paolo Bonzini 2 participants 2 messages May 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: fix qemu-iotests 030 failure

---
These hunks were left out of "stream: add testcase for partial streaming" v2 due a bad rebase on my side (I added the os.remove on top of an old branch rather than the latest). Please squash them in, sorry for the problem.

 tests/qemu-iotests/030     |    2 +-
 tests/qemu-iotests/030.out |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
tests/qemu-iotests/030 +1 -1
index 12e5023..eb7bf99 100755
@@ -90,7 +90,7 @@ class TestSingleDrive(ImageStreamingTestCase):
     def test_stream_partial(self):
         self.assert_no_active_streams()
 
-        result = self.vm.qmp('block_stream', device='drive0', base=mid_img)
+        result = self.vm.qmp('block-stream', device='drive0', base=mid_img)
         self.assert_qmp(result, 'return', {})
 
         completed = False
tests/qemu-iotests/030.out +2 -2
index 914e373..3f8a935 100644
@@ -1,5 +1,5 @@
-.....
+......
 ----------------------------------------------------------------------
-Ran 5 tests
+Ran 6 tests
 
 OK
Signature · 1 line
1.7.10.1
#1 lore raw

Am 10.05.2012 10:59, schrieb Paolo Bonzini:

Quoted 6 lines

---
These hunks were left out of "stream: add testcase for partial streaming" v2 due a bad rebase on my side (I added the os.remove on top of an old branch rather than the latest). Please squash them in, sorry for the problem.

Thanks, squashed them in.

Kevin