tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol
authorThomas Huth <thuth@redhat.com>
Fri, 15 Mar 2024 11:11:08 +0000 (12:11 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 Mar 2024 12:31:54 +0000 (13:31 +0100)
Tests that use "--blockdev" with the "file" driver cannot work with
other protocols, so we should mark them accordingly.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240315111108.153201-10-thuth@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/qcow2-internal-snapshots
tests/qemu-iotests/tests/qsd-jobs

index 36523aba06e307b95dfc52ca02c81f1cd73ad19f..9f83aa8903912ebec2afe5880152ac2b2a4c161f 100755 (executable)
@@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # This tests qcow2-specific low-level functionality
 _supported_fmt qcow2
-_supported_proto generic
+_supported_proto file
 # Internal snapshots are (currently) impossible with refcount_bits=1,
 # and generally impossible with external data files
 _unsupported_imgopts 'compat=0.10' 'refcount_bits=1[^0-9]' data_file
index 510bf0a9dcbf7aad1bd1e86536ee70a91a22d3a9..9b843af6312ddc2d23ae0461f3fd00bfa5809cc7 100755 (executable)
@@ -40,7 +40,7 @@ cd ..
 . ./common.filter
 
 _supported_fmt qcow2
-_supported_proto generic
+_supported_proto file
 
 size=128M