summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-02-08 16:46:59 -0300
committerThomas Huth <thuth@redhat.com>2023-02-14 09:11:27 +0100
commitd043f461b3690a70973e0c30a19b9653683deb8e (patch)
tree96e8508ce78f3dbe8af1d7e26601dcd1bb98d5cb
parent628f900883ffae94337ef3ca1c9b70bae267290d (diff)
downloadfocaccia-qemu-d043f461b3690a70973e0c30a19b9653683deb8e.tar.gz
focaccia-qemu-d043f461b3690a70973e0c30a19b9653683deb8e.zip
tests/qemu-iotests: Require virtio-scsi-pci
Check that virtio-scsi-pci is present in the QEMU build before running
the tests.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208194700.11035-12-farosas@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rwxr-xr-xtests/qemu-iotests/1861
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/186 b/tests/qemu-iotests/186
index 072e54e62b..eaf13c7a33 100755
--- a/tests/qemu-iotests/186
+++ b/tests/qemu-iotests/186
@@ -40,6 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file fuse
 _require_drivers null-co
+_require_devices virtio-scsi-pci
 
 if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
     _notrun "Requires a PC machine"