iotests/229: Use blkdebug to inject an error
authorKevin Wolf <kwolf@redhat.com>
Mon, 11 May 2020 13:58:23 +0000 (15:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:24 +0000 (19:05 +0200)
commitd89ac3cf305b28c024a76805a84d75c0ee1e786f
treedb64668d6cedbf1f1767ecb6b4412ec8440b7f47
parentffa41a62d0b0e6d91f2071328befa046d56993e1
iotests/229: Use blkdebug to inject an error

229 relies on the mirror running into an I/O error when the target is
smaller than the source. After changing mirror to catch this condition
while starting the job, this test case won't get a job that is paused
for an I/O error any more. Use blkdebug instead to inject an error.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200511135825.219437-3-kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/229
tests/qemu-iotests/229.out