]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-iotests: Test 0-length image for mirror
authorFam Zheng <famz@redhat.com>
Tue, 24 Jun 2014 12:26:38 +0000 (20:26 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 26 Jun 2014 11:51:00 +0000 (13:51 +0200)
commit3b9f27d2b34cb8c5cc6cec993712c7e1943e9de9
tree83d3a9cbaffd12e95dbf53a40090f1c0084e96d5
parent8b9a30ca5bc10545637429486836f3c206c39fab
qemu-iotests: Test 0-length image for mirror

All behavior and invariant should hold for images with 0 length, so
add a class to repeat all the tests in TestSingleDrive.

Hide two unapplicable test methods that would fail with 0 image length
because it's also used as cluster size.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/041
tests/qemu-iotests/041.out