tests/qemu-iotests: Restrict test 156 to the 'file' protocol
authorThomas Huth <thuth@redhat.com>
Fri, 15 Mar 2024 11:11:05 +0000 (12:11 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 Mar 2024 12:31:54 +0000 (13:31 +0100)
The test fails completely when you try to use it with a different
protocol, e.g. with "./check -ssh -qcow2 156".
The test uses some hand-crafted JSON statements which cannot work with other
protocols, thus let's change this test to only support the 'file' protocol.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240315111108.153201-7-thuth@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/156

index a9540bd80d2fd901810c611e524467f835f6b0ff..97c2d86ce573732231e9738873b68924e10cd2d3 100755 (executable)
@@ -50,7 +50,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.qemu
 
 _supported_fmt qcow2 qed
-_supported_proto generic
+_supported_proto file
 # Copying files around with cp does not work with external data files
 _unsupported_imgopts data_file