summaryrefslogtreecommitdiff
path: root/units
diff options
authorPMR <pmr@pmr-lander>2020-01-30 08:38:17 +0000
committerPMR <pmr@pmr-lander>2020-01-30 08:38:17 +0000
commit83b3db8612c6c1e2da42d5106b44f03d6fa22ead (patch)
treefb3eb4ea7c441fe3566c9c95caef4d624af7a0ed /units
parent51cf09675bd1c5f1cab2869e08a9e8e57be36208 (diff)
parentef098d4eb81e3d62336f9c165e82ca0ca39e5fb6 (diff)
Merge #372737 from ~rodsmith/plainbox-provider-checkbox:add-firmware-reboot-test
Add a test to see if the firmware claims support for the EFI reboot-to-firmware-setup feature, which is present in most new UEFIs.
Diffstat (limited to 'units')
-rw-r--r--units/miscellanea/jobs.pxu12
-rw-r--r--units/miscellanea/test-plan.pxu1
2 files changed, 13 insertions, 0 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 1f008cb..ebc7c4d 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -150,6 +150,18 @@ 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
unit: template
template-resource: model_assertion
template-unit: job
diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu
index 94bb410..b202727 100644
--- a/units/miscellanea/test-plan.pxu
+++ b/units/miscellanea/test-plan.pxu
@@ -64,6 +64,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/kernel_taint_test