diff options
author | Max Reitz <mreitz@redhat.com> | 2020-09-18 17:33:23 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2021-03-29 18:06:14 +0200 |
commit | 6d7bb95180b9313c8deb65671e65174205b1fd83 (patch) | |
tree | 6f206e41a42a788ec601056b7b0c2cee8d462802 /tests/qemu-iotests/046 | |
parent | ad0ce642799c15e3e5783bfcad60450c3f5687e1 (diff) |
iotests/046: Filter request length
For its concurrent requests, 046 has always filtered the offset,
probably because concurrent requests may settle in any order. However,
it did not filter the request length, and so if requests with different
lengths settle in an unexpected order (notably the longer request before
the shorter request), the test fails (for no good reason).
Filter the length, too.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200918153323.108932-1-mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/046')
-rwxr-xr-x | tests/qemu-iotests/046 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/046 b/tests/qemu-iotests/046 index 50b0678f60..517b162508 100755 --- a/tests/qemu-iotests/046 +++ b/tests/qemu-iotests/046 @@ -187,7 +187,8 @@ EOF } overlay_io | $QEMU_IO blkdebug::"$TEST_IMG" | _filter_qemu_io |\ - sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' + sed -e 's/[0-9]*\/[0-9]* bytes at offset [0-9]*/XXX\/XXX bytes at offset XXX/g' \ + -e 's/^[0-9]* KiB/XXX KiB/g' echo echo "== Verify image content ==" |