[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH v3 6/7] iotests: Test qemu-img conv
From: |
Thomas Huth |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH v3 6/7] iotests: Test qemu-img convert --salvage |
Date: |
Wed, 24 Apr 2019 17:21:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 13/04/2019 18.53, Max Reitz wrote:
> This test converts a simple image to another, but blkdebug injects
> block_status and read faults at some offsets. The resulting image
> should be the same as the input image, except that sectors that could
> not be read have to be 0.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> tests/qemu-iotests/249 | 163 +++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/249.out | 43 ++++++++++
> tests/qemu-iotests/group | 1 +
> 3 files changed, 207 insertions(+)
> create mode 100755 tests/qemu-iotests/249
> create mode 100644 tests/qemu-iotests/249.out
>
> diff --git a/tests/qemu-iotests/249 b/tests/qemu-iotests/249
> new file mode 100755
> index 0000000000..d3883d75f3
> --- /dev/null
> +++ b/tests/qemu-iotests/249
> @@ -0,0 +1,163 @@
> +#!/bin/bash
Please use "#!/usr/bin/env bash" instead.
Thanks,
Thomas
- [Qemu-block] [PATCH v3 3/7] blkdebug: Add @iotype error option, (continued)
- [Qemu-block] [PATCH v3 3/7] blkdebug: Add @iotype error option, Max Reitz, 2019/04/13
- [Qemu-block] [PATCH v3 4/7] blkdebug: Add "none" event, Max Reitz, 2019/04/13
- [Qemu-block] [PATCH v3 5/7] blkdebug: Inject errors on .bdrv_co_block_status(), Max Reitz, 2019/04/13
- [Qemu-block] [PATCH v3 6/7] iotests: Test qemu-img convert --salvage, Max Reitz, 2019/04/13
- [Qemu-block] [PATCH v3 7/7] iotests: Test qemu-img convert -C --salvage, Max Reitz, 2019/04/13