[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1.1 14/22] stream: add testcase for partial stre
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 1.1 14/22] stream: add testcase for partial streaming |
Date: |
Wed, 09 May 2012 14:59:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Am 08.05.2012 16:51, schrieb Paolo Bonzini:
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> tests/qemu-iotests/030 | 27 ++++++++++++++++++++++++++-
> tests/qemu-iotests/030.out | 4 ++--
> 2 file changed, 28 insertions(+), 3 deletion(-)
>
> diff --git a/tests/qemu-iotests/030.out b/tests/qemu-iotests/030.out
> index 0d2f87b..0aa7a0a 100644
> --- a/tests/qemu-iotests/030.out
> +++ b/tests/qemu-iotests/030.out
> @@ -1,5 +1,5 @@
> -.....
> +......
> ----------------------------------------------------------------------
> -Ran 5 tests
> +Ran 6 tests
>
> OK
> diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030
> index 0d2f87b..0aa7a0a 100755
> --- a/tests/qemu-iotests/030
> +++ b/tests/qemu-iotests/030
> @@ -23,6 +23,7 @@ import iotests
> from iotests import qemu_img, qemu_io
>
> backing_img = os.path.join(iotests.test_dir, 'backing.img')
> +mid_img = os.path.join(iotests.test_dir, 'mid.img')
> test_img = os.path.join(iotests.test_dir, 'test.img')
>
> class ImageStreamingTestCase(iotests.QMPTestCase):
> @@ -52,7 +53,8 @@ class TestSingleDrive(ImageStreamingTestCase):
>
> def setUp(self):
> qemu_img('create', backing_img, str(TestSingleDrive.image_len))
> - qemu_img('create', '-f', iotests.imgfmt, '-o', 'backing_file=%s' %
> backing_img, test_img)
> + qemu_img('create', '-f', iotests.imgfmt, '-o', 'backing_file=%s' %
> backing_img, mid_img)
> + qemu_img('create', '-f', iotests.imgfmt, '-o', 'backing_file=%s' %
> mid_img, test_img)
> self.vm = iotests.VM().add_drive(test_img)
> self.vm.launch()
mid.img must be deleted again in tearDown().
Kevin
- Re: [Qemu-devel] [PATCH 1.1 04/22] block: fully delete bs->file when closing, (continued)
- [Qemu-devel] [PATCH 1.1 06/22] block: wait for job callback in block_job_cancel_sync, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 07/22] block: simplify path_is_absolute, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 09/22] block: move field reset from bdrv_open_common to bdrv_close, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 08/22] block: protect path_has_protocol from filenames with colons, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 10/22] qemu-img: make "info" backing file output correct and easier to use, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 13/22] stream: fix sectors not allocated test, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 16/22] stream: fix HMP block_job_set_speed, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 14/22] stream: add testcase for partial streaming, Paolo Bonzini, 2012/05/08
- Re: [Qemu-devel] [PATCH 1.1 14/22] stream: add testcase for partial streaming,
Kevin Wolf <=
- [Qemu-devel] [PATCH 1.1 15/22] stream: pass new base image format to bdrv_change_backing_file, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 17/22] stream: fix ratelimiting corner case, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 18/22] stream: do not copy unallocated sectors from the base, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 20/22] stream: tweak usage of bdrv_co_is_allocated, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 21/22] stream: move is_allocated_above to block.c, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 22/22] stream: move rate limiting to a separate header file, Paolo Bonzini, 2012/05/08
- [Qemu-devel] [PATCH 1.1 11/22] qemu-io: correctly print non-integer values as decimals, Paolo Bonzini, 2012/05/08