iotests: Add test for image header overlap
authorMax Reitz <mreitz@redhat.com>
Thu, 7 Aug 2014 20:47:54 +0000 (22:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Aug 2014 13:07:16 +0000 (15:07 +0200)
commita42f8a3d05c5598cee893c9cf5ffeee48bacb83e
tree132fdf316eef6d05856855653be16164cc334457
parentff52aab2df5c5e10f231481961b88d25a3021724
iotests: Add test for image header overlap

Add a test for an image with an unallocated image header; instead of an
assertion, this should result in the image being marked corrupt.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/060
tests/qemu-iotests/060.out