]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/242
iotests: Restrict some Python tests to file
[mirror_qemu.git] / tests / qemu-iotests / 242
index c176e92da6a95c793974c87653677e56435302c5..a16de3085f49352b48e2f5f1fa04c6cf9e1a5a6f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Test for qcow2 bitmap printed information
 #
@@ -24,7 +24,8 @@ import struct
 from iotests import qemu_img_create, qemu_io, qemu_img_pipe, \
     file_path, img_info_log, log, filter_qemu_io
 
-iotests.verify_image_format(supported_fmts=['qcow2'])
+iotests.script_initialize(supported_fmts=['qcow2'],
+                          supported_protocols=['file'])
 
 disk = file_path('disk')
 chunk = 256 * 1024