tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is available
authorThomas Huth <thuth@redhat.com>
Thu, 25 May 2023 08:10:13 +0000 (10:10 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 26 May 2023 07:10:49 +0000 (09:10 +0200)
commit54c8ff27f60dfef7909b4a4a5a9ed96fc2ce8197
tree4443f2e7a7ba1b57f80f0208aa2ebe36015964dc
parentbdc20bf5d1a750003f36d0c9e1b6065b61af5f2f
tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is available

The "usb-storage" device might not have been compiled into the binary
(e.g. when compiling with "--without-default-devices"), so we have to
check first before using it.

Message-Id: <20230525081016.1870364-2-thuth@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/usb-hcd-uhci-test.c