aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2018-04-09 14:44:18 +0300
committerKevin Wolf <kwolf@redhat.com>2018-04-10 16:33:08 +0200
commite819edd090d183b5f9816f798eace920698b781f (patch)
treeb081e73a59883794ed4041b0aee791ba4fbd7e53
parentf48351d2f3dd94aa499f4197ae37a059559506bf (diff)
downloadqemu-e819edd090d183b5f9816f798eace920698b781f.zip
qemu-e819edd090d183b5f9816f798eace920698b781f.tar.gz
qemu-e819edd090d183b5f9816f798eace920698b781f.tar.bz2
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>
-rwxr-xr-xtests/qemu-iotests/2052
-rwxr-xr-xtests/qemu-iotests/2082
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
index e7b2eae..31b2f57 100755
--- a/tests/qemu-iotests/205
+++ b/tests/qemu-iotests/205
@@ -153,4 +153,4 @@ class TestNbdServerRemove(iotests.QMPTestCase):
if __name__ == '__main__':
- iotests.main()
+ iotests.main(supported_fmts=['generic'])
diff --git a/tests/qemu-iotests/208 b/tests/qemu-iotests/208
index 18f59ad..1e20238 100755
--- a/tests/qemu-iotests/208
+++ b/tests/qemu-iotests/208
@@ -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, \