diff options
author | Thomas Huth | 2020-01-21 10:52:03 +0100 |
---|---|---|
committer | Max Reitz | 2020-02-06 13:47:45 +0100 |
commit | 9bdabfbe722e4d47892dfea17ae4c1670e54123b (patch) | |
tree | 05e5a2774e26fa7d71aee7b5ddc9e6fe386bdb84 /tests/qemu-iotests/127 | |
parent | iotests: Test 183 does not work on macOS and OpenBSD (diff) | |
download | qemu-9bdabfbe722e4d47892dfea17ae4c1670e54123b.tar.gz qemu-9bdabfbe722e4d47892dfea17ae4c1670e54123b.tar.xz qemu-9bdabfbe722e4d47892dfea17ae4c1670e54123b.zip |
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>
Diffstat (limited to 'tests/qemu-iotests/127')
-rwxr-xr-x | tests/qemu-iotests/127 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/127 b/tests/qemu-iotests/127 index b64926ab31..a4fc866038 100755 --- a/tests/qemu-iotests/127 +++ b/tests/qemu-iotests/127 @@ -43,6 +43,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fmt qcow2 _supported_proto file +_require_devices virtio-scsi scsi-hd + IMG_SIZE=64K _make_test_img $IMG_SIZE |