dasharo-compatibility/usb-type-c.robot: fix indexing

Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
This commit is contained in:
Wiktor Mowinski
2026-04-24 12:39:58 +02:00
committed by Filip Gołaś
parent 4ca95673ce
commit 178fd2aaf4
2 changed files with 10 additions and 46 deletions
-36
View File
@@ -4698,24 +4698,6 @@ UTC327.203 USB Type-C docking station audio capture (Qubes OS) (ME: Enabled) (WL
Skip
... UTC327.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC329.203 USB Type-C docking station SD Card reader detection (Qubes OS) (ME: Enabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether the SD Card reader is enumerated correctly
... and can be detected from the operating system.
[Tags] semiauto
Skip If not ${DOCKING_STATION_SD_CARD_READER_SUPPORT} UTC329.203 not supported
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} UTC329.203 not supported
Skip
... UTC329.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC331.203 USB Type-C docking station SD Card read/write (Qubes OS) (ME: Enabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether the SD Card reader is initialized correctly
... and can be used from the operating system.
[Tags] semiauto
Skip If not ${DOCKING_STATION_SD_CARD_READER_SUPPORT} UTC331.203 not supported
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} UTC331.203 not supported
Skip
... UTC331.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC335.203 Docking station detection after coldboot (Qubes OS) (ME: Enabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether he DUT properly detects the docking station
... after coldboot.
@@ -5605,24 +5587,6 @@ UTC328.203 USB Type-C docking station audio capture (Qubes OS) (ME: Disabled) (W
Skip
... UTC328.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC330.203 USB Type-C docking station SD Card reader detection (Qubes OS) (ME: Disabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether the SD Card reader is enumerated correctly
... and can be detected from the operating system.
[Tags] semiauto
Skip If not ${DOCKING_STATION_SD_CARD_READER_SUPPORT} UTC330.203 not supported
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} UTC330.203 not supported
Skip
... UTC330.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC332.203 USB Type-C docking station SD Card read/write (Qubes OS) (ME: Disabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether the SD Card reader is initialized correctly
... and can be used from the operating system.
[Tags] semiauto
Skip If not ${DOCKING_STATION_SD_CARD_READER_SUPPORT} UTC332.203 not supported
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} UTC332.203 not supported
Skip
... UTC332.203 not implemented in OSFV. Refer to the documentation at https://docs.dasharo.com/unified-test-documentation/dasharo-compatibility/31H-usb-type-c/
UTC336.203 Docking station detection after coldboot (Qubes OS) (ME: Disabled) (WL-UG69PD2 Rev.A1)
[Documentation] Check whether he DUT properly detects the docking station
... after coldboot.
+10 -10
View File
@@ -87,14 +87,14 @@ Resource options/options-lib_dcu.robot
... [8/8] Verify that no failed detections occurred.
@{QUBES_SUSPEND_STEPS}=
... [1/9] Boot into dom0.
... [2/9] Connect docking station to DUT.
... [3/9] Verify docking station is detected.
... [4/9] Suspend the system.
... [5/9] Resume the system.
... [6/9] Verify docking station is detected after suspend/resume.
... [7/9] Repeat suspend cycle for ${STABILITY_DETECTION_SUSPEND_ITERATIONS} iterations.
... [8/9] Verify that no failed detections occurred.
... [1/8] Boot into dom0.
... [2/8] Connect docking station to DUT.
... [3/8] Verify docking station is detected.
... [4/8] Suspend the system.
... [5/8] Resume the system.
... [6/8] Verify docking station is detected after suspend/resume.
... [7/8] Repeat suspend cycle for ${STABILITY_DETECTION_SUSPEND_ITERATIONS} iterations.
... [8/8] Verify that no failed detections occurred.
*** Keywords ***
@@ -452,7 +452,7 @@ Docking Station Detection After Coldboot
Switch To Root User
${out_after_reboot}= Execute Linux Command uptime --since
Detect Docking Station In Linux ${dock_name}
END
END
EXCEPT
${failed_detection}= Evaluate ${FAILED_DETECTION} + 1
END
@@ -491,7 +491,7 @@ Docking Station Detection After Warmboot
${out_before_reboot}= Execute Linux Command uptime --since
WHILE '${out_before_reboot}' == '${out_after_reboot}'
IF '${POWER_CTRL}' == 'none'
Execute Manual Step Perform a coldboot manually
Execute Manual Step Perform a warmboot manually
ELSE
Power Cycle On
END