summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/030
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-08 16:51:53 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-10 10:32:13 +0200
commit863a5d042fdee6b1f602794d99a5121a42e4f181 (patch)
treee52bdc079ec09c96fef4000b258d06e6ed68c815 /tests/qemu-iotests/030
parentcc785c349de002596a4f4d116e62846fc18d7b9e (diff)
downloadqemu-863a5d042fdee6b1f602794d99a5121a42e4f181.tar.gz
stream: fix sectors not allocated test
The test on sectors not allocated can fail if the L1/L2 tables are not on disk yet. Allow tests to shutdown the VM early. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/030')
-rwxr-xr-xtests/qemu-iotests/0301
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030
index 38abc2ce77..0d2f87baa5 100755
--- a/tests/qemu-iotests/030
+++ b/tests/qemu-iotests/030
@@ -78,6 +78,7 @@ class TestSingleDrive(ImageStreamingTestCase):
completed = True
self.assert_no_active_streams()
+ self.vm.shutdown()
self.assertFalse('sectors not allocated' in qemu_io('-c', 'map', test_img),
'image file not fully populated after streaming')