From 9bdabfbe722e4d47892dfea17ae4c1670e54123b Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 21 Jan 2020 10:52:03 +0100 Subject: iotests: Check for the availability of the required devices in 267 and 127 We are going to enable 127 in the "auto" group, but it only works if virtio-scsi and scsi-hd are available - which is not the case with QEMU binaries like qemu-system-tricore for example, so we need a proper check for the availability of these devices here. A very similar problem exists in iotest 267 - it has been added to the "auto" group already, but requires virtio-blk and thus currently fails with qemu-system-tricore for example. Let's also add aproper check there. Reviewed-by: Max Reitz Signed-off-by: Thomas Huth Message-id: 20200121095205.26323-5-thuth@redhat.com Signed-off-by: Max Reitz --- tests/qemu-iotests/267 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/qemu-iotests/267') diff --git a/tests/qemu-iotests/267 b/tests/qemu-iotests/267 index c296877168..3146273eef 100755 --- a/tests/qemu-iotests/267 +++ b/tests/qemu-iotests/267 @@ -46,6 +46,8 @@ _require_drivers copy-on-read # and generally impossible with external data files _unsupported_imgopts 'refcount_bits=1[^0-9]' data_file +_require_devices virtio-blk + do_run_qemu() { echo Testing: "$@" -- cgit v1.2.3