OSDN Git Service

iotests: Extend test 066
authorMax Reitz <mreitz@redhat.com>
Wed, 3 May 2017 23:11:20 +0000 (01:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 11 May 2017 10:08:24 +0000 (12:08 +0200)
commitaa93c834f9c5b971ad3b54944a5dae97ca310225
treeebb6031c34aa5bdbee7c05180d2f4ec9abf4d4c0
parent293073a56c6c921c9902da17711914a0042f29ba
iotests: Extend test 066

066 was supposed to be a test "for discarding preallocated zero
clusters", but it did so incompletely: While it did check the image
file's integrity after the operation, it did not confirm that the
clusters are indeed freed. This patch adds this test.

In addition, new cases for writing to preallocated zero clusters are
added.

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/066
tests/qemu-iotests/066.out