iotests: blacklist bochs and cloop for 205 and 208
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>
This commit is contained in:
parent
f48351d2f3
commit
e819edd090
@ -153,4 +153,4 @@ class TestNbdServerRemove(iotests.QMPTestCase):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
iotests.main()
|
iotests.main(supported_fmts=['generic'])
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
import iotests
|
import iotests
|
||||||
|
|
||||||
|
iotests.verify_image_format(supported_fmts=['generic'])
|
||||||
|
|
||||||
with iotests.FilePath('disk.img') as disk_img_path, \
|
with iotests.FilePath('disk.img') as disk_img_path, \
|
||||||
iotests.FilePath('disk-snapshot.img') as disk_snapshot_img_path, \
|
iotests.FilePath('disk-snapshot.img') as disk_snapshot_img_path, \
|
||||||
iotests.FilePath('nbd.sock') as nbd_sock_path, \
|
iotests.FilePath('nbd.sock') as nbd_sock_path, \
|
||||||
|
Loading…
Reference in New Issue
Block a user