[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/14] qemu-iotests: Rewrite 207 for blockdev-cr
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH 09/14] qemu-iotests: Rewrite 207 for blockdev-create job |
Date: |
Tue, 29 May 2018 14:47:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 2018-05-25 18:33, Kevin Wolf wrote:
> This rewrites the test case 207 to work with the new x-blockdev-create
> job rather than the old synchronous version of the command.
>
> Most of the test cases stay the same as before (the exception being some
> improved 'size' options that allow distinguishing which command created
> the image), but in order to be able to implement proper job handling,
> the test case is rewritten in Python.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> tests/qemu-iotests/207 | 435
> +++++++++++++++++++-----------------------
> tests/qemu-iotests/207.out | 89 +++++----
> tests/qemu-iotests/group | 6 +-
> tests/qemu-iotests/iotests.py | 23 ++-
> 4 files changed, 264 insertions(+), 289 deletions(-)
[...]
> diff --git a/tests/qemu-iotests/207.out b/tests/qemu-iotests/207.out
> index 417deee970..299650872c 100644
> --- a/tests/qemu-iotests/207.out
> +++ b/tests/qemu-iotests/207.out
[...]
> +{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options':
> {'driver': 'ssh', 'location': {'path': 'TEST_DIR/t.img', 'host-key-check':
> {'hash': 'f3386a5742ddc4a04244118e59a1f92b', 'type': 'md5', 'mode': 'hash'},
> 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 8388608}}}
On second thought... That hash shouldn't be here. Well, my R-b stands
if you change it to 314620f24e31d6074e573b80887ace53. ;-)
Max
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 06/14] qemu-iotests: Add VM.qmp_log(), (continued)
[Qemu-devel] [PATCH 10/14] qemu-iotests: Rewrite 210 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 08/14] qemu-iotests: Rewrite 206 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 09/14] qemu-iotests: Rewrite 207 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 11/14] qemu-iotests: Rewrite 211 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 12/14] qemu-iotests: Rewrite 212 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 13/14] qemu-iotests: Rewrite 213 for blockdev-create job, Kevin Wolf, 2018/05/25
[Qemu-devel] [PATCH 14/14] block/create: Mark blockdev-create stable, Kevin Wolf, 2018/05/25