qemu-iotests: add 053 unaligned compressed image size test
commit7da94ca741e01a80afd65e107cc2cee160d1b2d2
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 16 Apr 2013 09:14:23 +0000 (16 11:14 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Apr 2013 09:37:12 +0000 (22 11:37 +0200)
tree216b3b73881d055d28d1ac59be059d2def41199f
parent1cb6f506444ddf00bb163e5ffa28ab1051b65642
qemu-iotests: add 053 unaligned compressed image size test

Test that qemu-img convert -c works when input image length is not a
multiple of the cluster size.

Previously an error message would be produced:

  qemu-img: error while compressing sector 0: Input/output error

Now that qcow2 and qcow handle this case the test passes successfully.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/053 [new file with mode: 0755]
tests/qemu-iotests/053.out [new file with mode: 0644]
tests/qemu-iotests/group