iotests: Repairing error during snapshot deletion
commitb41ad73a3bb972eb43cf52d28669f67ea3fe1762
authorMax Reitz <mreitz@redhat.com>
Wed, 9 May 2018 20:00:59 +0000 (9 22:00 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 11 Jun 2018 14:18:45 +0000 (11 16:18 +0200)
treeb649a76bf4dc8de1889c09e0a200fb3fec88a31a
parent3cce51c919c7b4028cf6676dfcb80a45741b5117
iotests: Repairing error during snapshot deletion

This adds a test for an I/O error during snapshot deletion, and maybe
more importantly, for how to repair the resulting image.  If the
snapshot has been deleted before the error occurs, the only negative
result will be leaked clusters -- and those should be repairable with
qemu-img check -r leaks.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20180509200059.31125-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/217 [new file with mode: 0755]
tests/qemu-iotests/217.out [new file with mode: 0644]
tests/qemu-iotests/group