OSDN Git Service

tests/qtest/cdrom-test: Fix the test to also work without optional devices
authorThomas Huth <thuth@redhat.com>
Wed, 10 May 2023 17:42:38 +0000 (19:42 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (09:44 +0200)
commitb49056b5a306ce950d0eb96ce41bdbf4f152e491
tree4966ac7975d9159b7186b8cf81392ddcaeb8b446
parent9b76fc5a71689d06d219fc9662ac43a64469d08a
tests/qtest/cdrom-test: Fix the test to also work without optional devices

It's possible to disable virtio-scsi and virtio-blk in the binaries,
so we must not run the corresponding tests if these devices are missing.

Message-Id: <20230512124033.502654-14-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/cdrom-test.c