On Thu, Jun 05, 2014 at 11:42:36AM +0800, Fam Zheng wrote:
> +class TestSingleDriveZeroLength(TestSingleDrive):
> +def setUp(self):
> +TestSingleDrive.image_len = 0
> +return TestSingleDrive.setUp(self)
This is buggy since it assigns to TestSingleDrive.image_len. It
modifies t
All behavior and invariant should hold for images with 0 length, so
add a class to repeat all the tests in TestSingleDrive.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/041 | 5 +
tests/qemu-iotests/041.out | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests