mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
This should be a non functional change. The idea is to use the topdoc dir from 9pm when generating the test report. Signed-off-by: Richard Alpe <richard@bit42.se>
=== USB configuration
==== Description
This test checks if the configuration is consistent with hardware state,
and verifies whether the USB ports are correctly _locked_ (restricted from
use) and _unlocked_ (available for use) when they should. It also verifies
this behavior during reboot. This test does not involve the actual use of
the USB port; it only ensures the configured state is consistent with the
hardware state.
If this pass you can be certain that the configuration of the USB
port is handled correctly.
==== Topology
ifdef::topdoc[]
image::{topdoc}../../test/case/ietf_hardware/usb/topology.svg[USB configuration topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::usb/topology.svg[USB configuration topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.svg[USB configuration topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Set up topology and attach to target DUT
. Unlock all USB ports
. Verify that all USB ports are unlocked
. Lock all USB ports
. Verify that all USB ports are locked
. Remove all hardware configuration
. Verify that all USB ports are locked
. Unlock USB ports
. Verify that all USB ports are unlocked
. Save the configuration to startup configuration and reboot
. Verify USB port remain unlocked after reboot
<<<