From ef098d4eb81e3d62336f9c165e82ca0ca39e5fb6 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Thu, 12 Sep 2019 19:01:18 -0400 Subject: Add a test to see if the firmware claims support for the EFI reboot-to-firmware-setup feature. --- units/miscellanea/jobs.pxu | 12 ++++++++++++ units/miscellanea/test-plan.pxu | 1 + 2 files changed, 13 insertions(+) (limited to 'units/miscellanea') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index ca726a62..3f3cfbd7 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -147,6 +147,18 @@ _description: Test to verify that the system booted in Secure Boot active. command: boot_mode_test secureboot +plugin: shell +category_id: com.canonical.plainbox::miscellanea +estimated_duration: 0.5 +id: miscellanea/reboot_firmware +requires: + cpuinfo.platform in ("i386", "x86_64", "aarch64") +depends: miscellanea/efi_boot_mode +_summary: Test that system supports booting into firmware setup utility +_description: + Test that the system supports rebooting into the firmware setup utility. +command: boot_mode_test reboot_firmware + plugin: shell category_id: com.canonical.plainbox::miscellanea estimated_duration: 0.5 diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu index b63d34fd..eef3e6df 100644 --- a/units/miscellanea/test-plan.pxu +++ b/units/miscellanea/test-plan.pxu @@ -67,6 +67,7 @@ mandatory_include: miscellanea/get_maas_version certification-status=blocker miscellanea/efi_boot_mode certification-status=blocker miscellanea/secure_boot_mode + miscellanea/reboot_firmware miscellanea/efi_pxeboot miscellanea/check_prerelease miscellanea/cpus_are_not_samples -- cgit v1.2.3