iotests: Check for the availability of the required devices in 267 and 127
commit9bdabfbe722e4d47892dfea17ae4c1670e54123b
authorThomas Huth <thuth@redhat.com>
Tue, 21 Jan 2020 09:52:03 +0000 (21 10:52 +0100)
committerMax Reitz <mreitz@redhat.com>
Thu, 6 Feb 2020 12:47:45 +0000 (6 13:47 +0100)
tree05e5a2774e26fa7d71aee7b5ddc9e6fe386bdb84
parent30ad36f55f4734ea663ddc21ea0910f2c7b4423c
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 <mreitz@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 20200121095205.26323-5-thuth@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/127
tests/qemu-iotests/267
tests/qemu-iotests/common.rc