Browse Source

tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol

These tests 188, 189 and 198 use qemu-io with --image-opts with additional
hard-coded parameters for the file protocol, so they cannot work for other
protocols. Thus we have to limit these tests to the file protocol only.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240315111108.153201-8-thuth@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Thomas Huth 1 year ago
parent
commit
9677061ef1
3 changed files with 3 additions and 3 deletions
  1. 1 1
      tests/qemu-iotests/188
  2. 1 1
      tests/qemu-iotests/189
  3. 1 1
      tests/qemu-iotests/198

+ 1 - 1
tests/qemu-iotests/188

@@ -38,7 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.filter
 . ./common.filter
 
 
 _supported_fmt qcow2
 _supported_fmt qcow2
-_supported_proto generic
+_supported_proto file
 _supported_os Linux
 _supported_os Linux
 _require_working_luks
 _require_working_luks
 
 

+ 1 - 1
tests/qemu-iotests/189

@@ -38,7 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.filter
 . ./common.filter
 
 
 _supported_fmt qcow2
 _supported_fmt qcow2
-_supported_proto generic
+_supported_proto file
 _supported_os Linux
 _supported_os Linux
 _require_working_luks
 _require_working_luks
 
 

+ 1 - 1
tests/qemu-iotests/198

@@ -38,7 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.filter
 . ./common.filter
 
 
 _supported_fmt qcow2
 _supported_fmt qcow2
-_supported_proto generic
+_supported_proto file
 _supported_os Linux
 _supported_os Linux
 _require_working_luks
 _require_working_luks