summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorMax Reitz2019-05-07 22:35:07 +0200
committerMax Reitz2019-06-14 15:09:27 +0200
commit0b1eb0ce7d734affdc181ca583d12947d17e47bf (patch)
tree5b1a230750abe1a10fdb9927948842b5577752bc /tests/qemu-iotests/group
parentblkdebug: Inject errors on .bdrv_co_block_status() (diff)
downloadqemu-0b1eb0ce7d734affdc181ca583d12947d17e47bf.tar.gz
qemu-0b1eb0ce7d734affdc181ca583d12947d17e47bf.tar.xz
qemu-0b1eb0ce7d734affdc181ca583d12947d17e47bf.zip
iotests: Test qemu-img convert --salvage
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 <mreitz@redhat.com> Message-id: 20190507203508.18026-7-mreitz@redhat.com Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> [mreitz: Dropped superfluous printf from _filter_offsets, as suggested by Vladimir; disable test for VDI and IMGOPTSSYNTAX] Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index 0842167b7b..b34c8e3c0c 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -263,6 +263,7 @@
248 rw quick
249 rw auto quick
250 rw auto quick
+251 rw auto quick
252 rw auto backing quick
253 rw auto quick
254 rw auto backing quick