]> git.proxmox.com Git - mirror_qemu.git/commitdiff
iotests/041: Skip test_small_target for qed
authorMax Reitz <mreitz@redhat.com>
Wed, 17 Jun 2020 10:48:19 +0000 (12:48 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 14:21:21 +0000 (16:21 +0200)
qed does not support shrinking images, so the test_small_target method
should be skipped to keep 041 passing.

Fixes: 16cea4ee1c8e5a69a058e76f426b2e17974d8d7d
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200617104822.27525-3-mreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/041

index 601c7561179c64f4a0b808b6a1a0c94e33c79f9a..b843f88a66df79dff06c56d2334069c722c96909 100755 (executable)
@@ -277,6 +277,8 @@ class TestSingleBlockdev(TestSingleDrive):
         result = self.vm.run_job('job0')
         self.assertEqual(result, 'Source and target image have different sizes')
 
+    # qed does not support shrinking
+    @iotests.skip_for_formats(('qed'))
     def test_small_target(self):
         self.do_test_target_size(self.image_len // 2)