mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 13:23:01 +02:00
SVG is a plain text file, better to see why it changed than binary PNG. Also fix #744 by adding infix/OEM hash to test specification Signed-off-by: Mattias Walström <lazzer@gmail.com>
=== 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::../../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 <<<