Patchwork block: fix qemu-iotests 030 failure

login
register
mail settings
Submitter Paolo Bonzini
Date May 10, 2012, 8:59 a.m.
Message ID <1336640369-13698-1-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/158227/
State New
Headers show

Comments

Paolo Bonzini - May 10, 2012, 8:59 a.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
        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(-)
Kevin Wolf - May 10, 2012, 9:05 a.m.
Am 10.05.2012 10:59, schrieb Paolo Bonzini:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>         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

Patch

diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030
index 12e5023..eb7bf99 100755
--- a/tests/qemu-iotests/030
+++ b/tests/qemu-iotests/030
@@ -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
diff --git a/tests/qemu-iotests/030.out b/tests/qemu-iotests/030.out
index 914e373..3f8a935 100644
--- a/tests/qemu-iotests/030.out
+++ b/tests/qemu-iotests/030.out
@@ -1,5 +1,5 @@ 
-.....
+......
 ----------------------------------------------------------------------
-Ran 5 tests
+Ran 6 tests
 
 OK