iotests: Test qemu-img convert -S 0 behavior
authorMax Reitz <mreitz@redhat.com>
Thu, 24 Mar 2016 22:34:00 +0000 (23:34 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 10:16:04 +0000 (12:16 +0200)
commitf4e732a0a773c4e44c2c183a5d63cd850ffb57d1
treedc582cfdea945c278b60d9fda7ae44ced0fdfcb7
parenta90639270df14ee8bd2aec38243c24348c9053fa
iotests: Test qemu-img convert -S 0 behavior

Passing -S 0 to qemu-img convert should result in all source data being
copied to the output, even if that source data is known to be 0. The
output image should therefore have exactly the same size on disk as an
image which we explicitly filled with data.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/150 [new file with mode: 0755]
tests/qemu-iotests/150.out [new file with mode: 0644]
tests/qemu-iotests/group