OSDN Git Service

tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using them
authorThomas Huth <thuth@redhat.com>
Thu, 25 May 2023 08:10:16 +0000 (10:10 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 26 May 2023 07:10:49 +0000 (09:10 +0200)
commit5af3438a7c2ff846dec31dbe85163d9f71281445
tree4b7904b7230edac0b72c0b7d969b8e746c5b46e8
parentf5af1dad564d76121c810330824d5e0a1f6294d4
tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using them

The devices might not be available in the binary (e.g. when compiling
with "--without-default-devices"), so we have to check before we can
use them.

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