From 77e2b9a4895d71503d3f26578ec4b1471b1a74ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Fri, 29 Nov 2024 14:53:03 +0100 Subject: [PATCH] unify Enter Setup Menu kwd for uefi and seabios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- dasharo-compatibility/cpu-cores-count.robot | 20 +++++++++---------- .../custom-boot-menu-key.robot | 2 +- .../dasharo-tools-suite.robot | 4 ++-- dasharo-compatibility/memory-profile.robot | 8 ++++---- dasharo-compatibility/power-after-fail.robot | 14 ++++++------- .../setup-menu-information.robot | 12 +++++------ dasharo-security/uefi-password.robot | 12 +++++------ lib/bios/common.robot | 13 ++++++++++++ lib/bios/edk2.robot | 13 ++---------- lib/bios/seabios.robot | 14 +------------ lib/options/uefi-setup-menu.robot | 2 +- platform-configs/qemu-selftests-seabios.robot | 2 +- self-tests/setup-and-boot-menus.robot | 8 ++++---- self-tests/setup-and-boot-seabios.robot | 16 +++++++-------- 14 files changed, 66 insertions(+), 74 deletions(-) diff --git a/dasharo-compatibility/cpu-cores-count.robot b/dasharo-compatibility/cpu-cores-count.robot index 1e508d618f..d92ccf0a14 100644 --- a/dasharo-compatibility/cpu-cores-count.robot +++ b/dasharo-compatibility/cpu-cores-count.robot @@ -55,7 +55,7 @@ CCC002.001 Check core count with HT enabled CCC003.001 Check core count (HT Enabled, P: All, E: 0) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option ActiveECores 0 @@ -72,7 +72,7 @@ CCC003.001 Check core count (HT Enabled, P: All, E: 0) (Ubuntu) CCC004.001 Check core count (HT Enabled, P: All, E: All) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option ActiveECores All active @@ -89,7 +89,7 @@ CCC004.001 Check core count (HT Enabled, P: All, E: All) (Ubuntu) CCC005.001 Check core count (HT Disabled, P: All, E: 0) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${FALSE} @@ -106,7 +106,7 @@ CCC005.001 Check core count (HT Disabled, P: All, E: 0) (Ubuntu) CCC006.001 Check core count (HT Disabled, P: All, E: 0) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option ActiveECores 0 @@ -123,7 +123,7 @@ CCC006.001 Check core count (HT Disabled, P: All, E: 0) (Ubuntu) CCC007.001 Check core count (HT Enabled, P: 1, E: A) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option ActivePCores 1 @@ -140,7 +140,7 @@ CCC007.001 Check core count (HT Enabled, P: 1, E: A) (Ubuntu) CCC008.001 Check core count (HT Disabled, P: 1, E: A) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${FALSE} @@ -157,7 +157,7 @@ CCC008.001 Check core count (HT Disabled, P: 1, E: A) (Ubuntu) CCC009.001 Check core count (HT Enabled, P: 1, E: 1) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${TRUE} @@ -176,7 +176,7 @@ CCC009.001 Check core count (HT Enabled, P: 1, E: 1) (Ubuntu) CCC010.001 Check core count (HT Disabled, P: 1, E: 1) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${FALSE} @@ -194,7 +194,7 @@ CCC010.001 Check core count (HT Disabled, P: 1, E: 1) (Ubuntu) CCC011.001 Check core count (HT Enabled, P: A, E: 1) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${TRUE} @@ -212,7 +212,7 @@ CCC011.001 Check core count (HT Enabled, P: A, E: 1) (Ubuntu) CCC012.001 Check core count (HT Disabled, P: A, E: 1) (Ubuntu) Depends On ${INTEL_HYBRID_ARCH_SUPPORT} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset Set UEFI Option HyperThreading ${FALSE} diff --git a/dasharo-compatibility/custom-boot-menu-key.robot b/dasharo-compatibility/custom-boot-menu-key.robot index 3c7718a1ac..9c29a72557 100644 --- a/dasharo-compatibility/custom-boot-menu-key.robot +++ b/dasharo-compatibility/custom-boot-menu-key.robot @@ -39,5 +39,5 @@ CBK002.001 Custom setup menu key Skip If not ${CUSTOM_SETUP_MENU_KEY_SUPPORT} CBK002.001 not supported Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} CBK002.001 not supported Power On - Enter Setup Menu Tianocore + Enter Setup Menu Read From Terminal Until ${SETUP_MENU_STRING} diff --git a/dasharo-compatibility/dasharo-tools-suite.robot b/dasharo-compatibility/dasharo-tools-suite.robot index 1a009d73e5..c8177adb1e 100644 --- a/dasharo-compatibility/dasharo-tools-suite.robot +++ b/dasharo-compatibility/dasharo-tools-suite.robot @@ -61,7 +61,7 @@ DTS003.001 DTS option reboot DUT works correctly Write Into Terminal R # Switch back to serial on PiKVM devices Restore Initial DUT Connection Method - Enter Setup Menu Tianocore + Enter Setup Menu DTS004.001 DTS accessing shell works correctly [Documentation] This test aims to verify that shell can be accessed in @@ -128,5 +128,5 @@ DTS008.001 DTS option power-off DUT works correctly Boot Dasharo Tools Suite iPXE Write Into Terminal P Set DUT Response Timeout 30s - ${status}= Run Keyword And Return Status Enter Setup Menu Tianocore + ${status}= Run Keyword And Return Status Enter Setup Menu Should Not Be True ${status} diff --git a/dasharo-compatibility/memory-profile.robot b/dasharo-compatibility/memory-profile.robot index f3550931de..c9fa732c08 100644 --- a/dasharo-compatibility/memory-profile.robot +++ b/dasharo-compatibility/memory-profile.robot @@ -40,7 +40,7 @@ MPS001.001 Switching to XMP profile Telnet.Set Timeout 5 min # Boot and remember current memory speed Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${old_speed}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${old_speed} @@ -54,7 +54,7 @@ MPS001.001 Switching to XMP profile Set Option State ${memory_menu} Memory SPD Profile XMP#1 (predefined Save Changes And Reset # Verify that frequency has changed - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${new_speed}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${new_speed} @@ -66,7 +66,7 @@ MPS002.001 Switching back to JEDEC profile Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} MPS002.001 not supported # Boot and remember current memory speed Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${old_speed}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${old_speed} @@ -80,7 +80,7 @@ MPS002.001 Switching back to JEDEC profile Set Option State ${memory_menu} Memory SPD Profile JEDEC (safe Save Changes And Reset # Verify that frequency has changed - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${new_speed}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${new_speed} diff --git a/dasharo-compatibility/power-after-fail.robot b/dasharo-compatibility/power-after-fail.robot index 9515183a9a..e71fc9e7bc 100644 --- a/dasharo-compatibility/power-after-fail.robot +++ b/dasharo-compatibility/power-after-fail.robot @@ -48,7 +48,7 @@ PSF002.001 Powered Off State Restoration Test ${pwr_menu}= Enter Dasharo Submenu ${dasharo_menu} Power Management Options Set Option State ${pwr_menu} Power state after Powered Off Save Changes And Reset - Enter Setup Menu Tianocore + Enter Setup Menu Simulate Power Failure ${output}= Run Keyword And Return Status ... Enter Setup Menu Tianocore And Return Construction @@ -64,9 +64,9 @@ PSF003.001 Powered On State Restoration Test ${pwr_menu}= Enter Dasharo Submenu ${dasharo_menu} Power Management Options Set Option State ${pwr_menu} Power state after Powered On Save Changes And Reset - Enter Setup Menu Tianocore + Enter Setup Menu Simulate Power Failure - Enter Setup Menu Tianocore + Enter Setup Menu PSF004.001 Previous Power State Restoration Test - Powered Off [Documentation] This test ensures that the feature is able to correctly @@ -79,12 +79,12 @@ PSF004.001 Previous Power State Restoration Test - Powered Off ${pwr_menu}= Enter Dasharo Submenu ${dasharo_menu} Power Management Options Set Option State ${pwr_menu} Power state after The state at the moment of power failure Save Changes And Reset - Enter Setup Menu Tianocore + Enter Setup Menu # Power button press to power off the machine Rte Power On Simulate Power Failure ${output}= Run Keyword And Return Status - ... Enter Setup Menu Tianocore + ... Enter Setup Menu Should Not Be True ${output} PSF004.002 Previous Power State Restoration Test - Powered On @@ -98,6 +98,6 @@ PSF004.002 Previous Power State Restoration Test - Powered On ${pwr_menu}= Enter Dasharo Submenu ${dasharo_menu} Power Management Options Set Option State ${pwr_menu} Power state after The state at the moment of power failure Save Changes And Reset - Enter Setup Menu Tianocore + Enter Setup Menu Simulate Power Failure - Enter Setup Menu Tianocore + Enter Setup Menu diff --git a/dasharo-compatibility/setup-menu-information.robot b/dasharo-compatibility/setup-menu-information.robot index 488ae63e33..bd23138e24 100644 --- a/dasharo-compatibility/setup-menu-information.robot +++ b/dasharo-compatibility/setup-menu-information.robot @@ -32,7 +32,7 @@ SET001.001 CPU clock speed displayed in setup menu ... correctly indicated in setup menu. Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${cpu_line}= Get Lines Matching Regexp ${out} .*GHz Should Not Be Empty ${cpu_line} CPU clock speed not found @@ -45,7 +45,7 @@ SET002.001 RAM speed displayed in setup menu ... indicated in setup menu. Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${ram_line}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${ram_line} RAM speed not found @@ -58,7 +58,7 @@ SET003.001 RAM size displayed in setup menu ... indicated in setup menu. Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${ram_line}= Get Lines Matching Regexp ${out} .*MB RAM.* Should Not Be Empty ${ram_line} RAM size not found @@ -72,7 +72,7 @@ SET004.001 Expected CPU clock speed displayed in setup menu Depends On Variable \${PLATFORM_CPU_SPEED} Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${cpu_line}= Get Lines Matching Regexp ${out} .*GHz Should Not Be Empty ${cpu_line} CPU clock speed not found @@ -86,7 +86,7 @@ SET005.001 Expected RAM speed displayed in setup menu Depends On Variable \${PLATFORM_RAM_SPEED} Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${ram_line}= Get Lines Matching Regexp ${out} .*RAM @ \\d+ MHz.* Should Not Be Empty ${ram_line} RAM speed not found @@ -100,7 +100,7 @@ SET006.001 Expected RAM size displayed in setup menu Depends On Variable \${PLATFORM_RAM_SIZE} Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until =Select Entry ${ram_line}= Get Lines Matching Regexp ${out} .*MB RAM.* Should Not Be Empty ${ram_line} RAM size not found diff --git a/dasharo-security/uefi-password.robot b/dasharo-security/uefi-password.robot index fd1b19ac04..6af2831d40 100644 --- a/dasharo-security/uefi-password.robot +++ b/dasharo-security/uefi-password.robot @@ -59,7 +59,7 @@ PSW002.001 Password setting mechanism correctness checking Power On Set Password 5 Times Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${output}= Read From Terminal Until password Should Contain ${output} Please input admin password @@ -69,7 +69,7 @@ PSW003.001 Attempt to log in with a correct password Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} PSW003.001 not supported Skip If not ${TESTS_IN_UBUNTU_SUPPORT} PSW003.001 not supported Power On - Enter Setup Menu Tianocore + Enter Setup Menu Read From Terminal Until password Type In The Password ${DEFAULT_PASSWORD} # "ontinue" is a string that appears both in correct password screen @@ -84,7 +84,7 @@ PSW004.001 Attempt to log in with an incorrect password Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} PSW004.001 not supported Skip If not ${TESTS_IN_UBUNTU_SUPPORT} PSW004.001 not supported Power On - Enter Setup Menu Tianocore + Enter Setup Menu Read From Terminal Until password Type In The Password ${WRONG_PASSWORD} # "ontinue" is a string that appears both in correct password screen @@ -99,7 +99,7 @@ PSW005.001 Attempt to log in with an incorrect password 3 times Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} PSW005.001 not supported Skip If not ${TESTS_IN_UBUNTU_SUPPORT} PSW005.001 not supported Power On - Enter Setup Menu Tianocore + Enter Setup Menu Read From Terminal Until password FOR ${counter} IN RANGE 0 2 Type In The Password ${WRONG_PASSWORD} @@ -118,7 +118,7 @@ PSW006.001 Attempt to turn off setup password functionality Skip If not ${TESTS_IN_FIRMWARE_SUPPORT} PSW006.001 not supported Skip If not ${TESTS_IN_UBUNTU_SUPPORT} PSW006.001 not supported Power On - Enter Setup Menu Tianocore + Enter Setup Menu Read From Terminal Until password Type In The Password ${DEFAULT_PASSWORD} ${setup_menu}= Get Setup Menu Construction @@ -137,7 +137,7 @@ PSW006.001 Attempt to turn off setup password functionality Should Contain ${result} New password is updated successfully Press Key N Times 1 ${ENTER} Power On - Enter Setup Menu Tianocore + Enter Setup Menu Sleep 1s ${output}= Read From Terminal Should Not Contain ${output} Please input admin password diff --git a/lib/bios/common.robot b/lib/bios/common.robot index 4689303da1..5b1188a557 100644 --- a/lib/bios/common.robot +++ b/lib/bios/common.robot @@ -27,6 +27,19 @@ Enter Boot Menu And Return Construction ${menu}= Get Boot Menu Construction RETURN ${menu} +Enter Setup Menu + [Documentation] Enter Setup Menu with key specified in platform-configs. + Read From Terminal Until ${FW_STRING} + IF '${DUT_CONNECTION_METHOD}' == 'pikvm' + Single Key PiKVM ${SETUP_MENU_KEY} + ELSE + Write Bare Into Terminal ${SETUP_MENU_KEY} + IF '${BIOS_LIB}' == 'seabios' + ${menu}= Get Boot Menu Construction + Enter Menu From Snapshot ${menu} \[setup\] + END + END + Parse Menu Snapshot Into Construction [Documentation] Breaks grabbed menu data into lines. [Arguments] ${menu} ${lines_top} ${lines_bot} diff --git a/lib/bios/edk2.robot b/lib/bios/edk2.robot index 9fb549ee28..51e80fa037 100644 --- a/lib/bios/edk2.robot +++ b/lib/bios/edk2.robot @@ -52,15 +52,6 @@ Get Boot Menu Construction END RETURN ${construction} -Enter Setup Menu Tianocore - [Documentation] Enter Setup Menu with key specified in platform-configs. - Read From Terminal Until ${FW_STRING} - IF '${DUT_CONNECTION_METHOD}' == 'pikvm' - Single Key PiKVM ${SETUP_MENU_KEY} - ELSE - Write Bare Into Terminal ${SETUP_MENU_KEY} - END - Get Setup Menu Construction [Documentation] Keyword allows to get and return setup menu construction. [Arguments] ${checkpoint}=Select Entry @@ -84,7 +75,7 @@ Get Menu Construction Enter Setup Menu Tianocore And Return Construction [Documentation] Enters Setup Menu and returns Setup Menu construction - Enter Setup Menu Tianocore + Enter Setup Menu ${menu}= Get Setup Menu Construction RETURN ${menu} @@ -580,7 +571,7 @@ Make Sure That Network Boot Is Enabled Get Firmware Version From Tianocore Setup Menu [Documentation] Keyword allows to read firmware version from Tianocore ... Setup menu header. - Enter Setup Menu Tianocore + Enter Setup Menu ${output}= Read From Terminal Until Select Entry ${firmware_line}= Get Lines Containing String ${output} Dasharo (coreboot+UEFI) ${firmware_version}= Get Regexp Matches ${firmware_line} v\\d{1,}\.\\d{1,}\.\\d{1,} diff --git a/lib/bios/seabios.robot b/lib/bios/seabios.robot index 09fb32770c..ee63adb746 100644 --- a/lib/bios/seabios.robot +++ b/lib/bios/seabios.robot @@ -26,12 +26,6 @@ Get Boot Menu Construction ${construction}= Parse Menu Snapshot Into Construction ${menu} 1 0 RETURN ${construction} -Enter Sortbootorder - [Documentation] Enter sortbootorder with Boot Menu Construction. - Enter Boot Menu - ${menu}= Get Boot Menu Construction - Enter Menu From Snapshot ${menu} \[setup\] - Get Sortbootorder Menu Construction [Documentation] Keyword allows to get and return sortbootorder menu construction. [Arguments] ${checkpoint}=Save configuration and exit @@ -40,12 +34,6 @@ Get Sortbootorder Menu Construction ${menu}= Parse Menu Snapshot Into Construction ${out} 7 0 RETURN ${menu} -Enter Setup Menu SeaBIOS And Return Construction - [Documentation] Enters Setup Menu and returns Setup Menu construction - Enter Setup Menu SeaBIOS - ${menu}= Get Setup Menu Construction - RETURN ${menu} - Get Option State [Documentation] Gets menu construction and option name as arguments. ... Returns option state, which can be: True or False. @@ -185,7 +173,7 @@ Save Sortbootorder Changes Enable Network/PXE Boot [Documentation] Enable Network/PXE Boot and save. - Enter Sortbootorder + Enter Setup Menu ${menu}= Get Sortbootorder Menu Construction ${menu}= Set Option State And Return Construction ${menu} Network/PXE boot Enabled List Should Contain Value ${menu} n Network/PXE boot - Currently Enabled diff --git a/lib/options/uefi-setup-menu.robot b/lib/options/uefi-setup-menu.robot index 27c5cd2049..19f18ef11f 100644 --- a/lib/options/uefi-setup-menu.robot +++ b/lib/options/uefi-setup-menu.robot @@ -65,7 +65,7 @@ Get UEFI Option Reset UEFI Options To Defaults [Documentation] Resets all UEFI options to defaults Power On - Enter Setup Menu Tianocore + Enter Setup Menu Reset To Defaults Tianocore Save Changes And Reset diff --git a/platform-configs/qemu-selftests-seabios.robot b/platform-configs/qemu-selftests-seabios.robot index 2574124b77..9947af93ea 100644 --- a/platform-configs/qemu-selftests-seabios.robot +++ b/platform-configs/qemu-selftests-seabios.robot @@ -15,7 +15,7 @@ ${RTE_S2_N_PORT}= 1234 ${FLASH_SIZE}= ${8*1024*1024} ${FW_STRING}= for boot menu ${BOOT_MENU_KEY}= ${F10} -${SETUP_MENU_KEY}= ${F2} +${SETUP_MENU_KEY}= ${F10} ${MANUFACTURER}= QEMU ${POWER_CTRL}= RteCtrl ${FLASHING_METHOD}= none diff --git a/self-tests/setup-and-boot-menus.robot b/self-tests/setup-and-boot-menus.robot index ce92c2aa75..e2f2b557ec 100644 --- a/self-tests/setup-and-boot-menus.robot +++ b/self-tests/setup-and-boot-menus.robot @@ -43,10 +43,10 @@ Enter Boot Menu And Return Construction List Should Contain Value ${menu} Setup Menu Construction Should Not Contain Control Text ${menu} -Enter Setup Menu Tianocore - [Documentation] Test Enter Setup Menu Tianocore kwd +Enter Setup Menu + [Documentation] Test Enter Setup Menu kwd Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${out}= Read From Terminal Until Select Entry Should Contain ${out} Select Language @@ -212,7 +212,7 @@ Get Menu Construction Stress Test FOR ${i} IN RANGE 50 Log To Console Iteration: ${i} Power On - Enter Setup Menu Tianocore + Enter Setup Menu ${menu}= Get Setup Menu Construction Run Keyword And Continue On Failure Should Not Be Empty ${menu} diff --git a/self-tests/setup-and-boot-seabios.robot b/self-tests/setup-and-boot-seabios.robot index b856e78101..d52bc13173 100644 --- a/self-tests/setup-and-boot-seabios.robot +++ b/self-tests/setup-and-boot-seabios.robot @@ -36,7 +36,7 @@ Enter Boot Menu Should Contain ${out} Select boot device: Enter Boot Menu And Return Construction - [Documentation] Test Enter Boot Menu kwd + [Documentation] Test Enter Boot Menu And Return Construction kwd Power On ${menu}= Enter Boot Menu And Return Construction List Should Not Contain Value ${menu} Select boot device: @@ -46,17 +46,17 @@ Enter Boot Menu And Return Construction List Should Contain Value ${menu} t. TPM Configuration Menu Construction Should Not Contain Control Text ${menu} -Enter sortbootorder - [Documentation] Test Enter sortbootorder kwd +Enter Setup Menu + [Documentation] Test Enter Setup Menu kwd Power On - Enter Sortbootorder + Enter Setup Menu ${out}= Read From Terminal Until Save configuration and exit Should Contain ${out} PC Engines QEMU x86 q35/ich9 setup Get sortbootorder Menu Construction [Documentation] Get sortbootorder Menu Construction kwd Power On - Enter Sortbootorder + Enter Setup Menu ${menu}= Get Sortbootorder Menu Construction List Should Not Contain Value ${menu} Boot order List Should Contain Value ${menu} r Restore boot order defaults @@ -83,7 +83,7 @@ Get sortbootorder Menu Construction Get Option State [Documentation] Test Get Option State kwd Power On - Enter Sortbootorder + Enter Setup Menu ${menu}= Get Sortbootorder Menu Construction ${state}= Get Option State ${menu} Network/PXE boot Should Contain ${state} Disabled @@ -91,7 +91,7 @@ Get Option State Enter Menu From Snapshot and Return sortbootorder Construction [Documentation] Test Enter Menu From Snapshot and Return sortbootorder Construction kwd Power On - Enter Sortbootorder + Enter Setup Menu ${menu}= Get Sortbootorder Menu Construction ${menu}= Enter Menu From Snapshot And Return Sortbootorder Construction ${menu} Network/PXE boot List Should Not Contain Value ${menu} Boot order @@ -127,7 +127,7 @@ Enable Network Boot [Documentation] Test Enable Network/PXE boot Power On Enable Network/PXE Boot - Enter Sortbootorder + Enter Setup Menu ${menu}= Get Sortbootorder Menu Construction List Should Contain Value ${menu} n Network/PXE boot - Currently Enabled