OSDN Git Service

iotests: Limit supported formats for 118
authorMax Reitz <mreitz@redhat.com>
Mon, 25 Jan 2016 14:42:56 +0000 (15:42 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:49:42 +0000 (17:49 +0100)
Image formats used in test 118 need to support image creation.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/118

index 7caa38c..9e5951f 100755 (executable)
@@ -672,4 +672,6 @@ if __name__ == '__main__':
         # We need floppy and IDE CD-ROM
         iotests.notrun('not suitable for this machine type: %s' %
                        iotests.qemu_default_machine)
-    iotests.main()
+    # Need to support image creation
+    iotests.main(supported_fmts=['vpc', 'parallels', 'qcow', 'vdi', 'qcow2',
+                                 'vmdk', 'raw', 'vhdx', 'qed'])