]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 Aug 2014 22:42:39 +0000 (17:42 -0500)
commitd0d83e8fe72acf65d1d126c0ac1b06fb8fd489df
treee851f8a49aca7dff98be95ea136200adb1028f38
parent98103fa736e535d311604f5cae0468019908b55e
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>
(cherry picked from commit 3b9f27d2b34cb8c5cc6cec993712c7e1943e9de9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/041
tests/qemu-iotests/041.out