]> git.proxmox.com Git - mirror_qemu.git/commitdiff
iotests: blacklist bochs and cloop for 205 and 208
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 9 Apr 2018 11:44:18 +0000 (14:44 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Apr 2018 14:33:08 +0000 (16:33 +0200)
Blacklist these formats, as they don't support image creation, as they
say:
    > ./qemu-img create -f bochs x 1m
    qemu-img: x: Format driver 'bochs' does not support image creation

    > ./qemu-img create -f cloop x 1m
    qemu-img: x: Format driver 'cloop' does not support image creation

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/205
tests/qemu-iotests/208

index e7b2eae51d59f698286732c233542180e6f24902..31b2f5707a5da897e3c75c55a2307e724e1d45b9 100755 (executable)
@@ -153,4 +153,4 @@ class TestNbdServerRemove(iotests.QMPTestCase):
 
 
 if __name__ == '__main__':
-    iotests.main()
+    iotests.main(supported_fmts=['generic'])
index 18f59ada946ef6da7a2f00d9ba82e62318a1261e..1e202388dcc3db8f13f889685532556d1310b95f 100755 (executable)
@@ -22,6 +22,8 @@
 
 import iotests
 
+iotests.verify_image_format(supported_fmts=['generic'])
+
 with iotests.FilePath('disk.img') as disk_img_path, \
      iotests.FilePath('disk-snapshot.img') as disk_snapshot_img_path, \
      iotests.FilePath('nbd.sock') as nbd_sock_path, \