summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-03-15 12:11:05 +0100
committerKevin Wolf <kwolf@redhat.com>2024-03-18 13:31:54 +0100
commite7a271bee991ed3db338e1575ba512a1bbe3ef50 (patch)
treef1a89c1cbbc6f1b149d869660e126e714ce7f4f0
parent9e39544465dce44467cc33114d4e1d43316f559d (diff)
downloadfocaccia-qemu-e7a271bee991ed3db338e1575ba512a1bbe3ef50.tar.gz
focaccia-qemu-e7a271bee991ed3db338e1575ba512a1bbe3ef50.zip
tests/qemu-iotests: Restrict test 156 to the 'file' protocol
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>
-rwxr-xr-xtests/qemu-iotests/1562
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/156 b/tests/qemu-iotests/156
index a9540bd80d..97c2d86ce5 100755
--- a/tests/qemu-iotests/156
+++ b/tests/qemu-iotests/156
@@ -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