Re: [PATCH 04/15] iotests/040: Don't check image pattern on zero-length image

2022-03-22 Thread Hanna Reitz
On 22.03.22 17:19, John Snow wrote: On Tue, Mar 22, 2022, 10:22 AM Hanna Reitz wrote: 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

Re: [PATCH 04/15] iotests/040: Don't check image pattern on zero-length image

2022-03-22 Thread John Snow
On Tue, Mar 22, 2022, 10:22 AM Hanna Reitz wrote: > 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 > > --- > > tests/qemu-iotests/040 | 14

Re: [PATCH 04/15] iotests/040: Don't check image pattern on zero-length image

2022-03-22 Thread Hanna Reitz
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 --- tests/qemu-iotests/040 | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) Doesn’t look specif

Re: [PATCH 04/15] iotests/040: Don't check image pattern on zero-length image

2022-03-21 Thread Eric Blake
On Fri, Mar 18, 2022 at 04:36:44PM -0400, John Snow wrote: > qemu-io fails on read/write with zero-length raw images, so skip these > when running the zero-length image tests. On my first read, I wondered what we accomplish by rejecting zero-length reads on a zero-length image, and whether enterin

[PATCH 04/15] iotests/040: Don't check image pattern on zero-length image

2022-03-18 Thread John Snow
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 --- tests/qemu-iotests/040 | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040