|
From: | Hanna Reitz |
Subject: | Re: [PATCH 04/15] iotests/040: Don't check image pattern on zero-length image |
Date: | Tue, 22 Mar 2022 15:22:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 18.03.22 21:36, John Snow wrote:
qemu-io fails on read/write with zero-length raw images, so skip these when running the zero-length image tests. Signed-off-by: John Snow <jsnow@redhat.com> --- tests/qemu-iotests/040 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
Doesn’t look specific to zero-length images, but the fact that we do I/O beyond the image size, i.e. any image below 1 MB would be affected.
Anyway, the zero-length image is the only one tested with a size of less than 1 MB, so this works.
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |