summaryrefslogtreecommitdiff
path: root/units/miscellanea
diff options
authorPMR <pmr@pmr-lander>2020-01-30 08:38:17 +0000
committerPMR <pmr@pmr-lander>2020-01-30 08:38:17 +0000
commitf9f78bb7db277d888110bb814164e64f4a37cbe6 (patch)
tree9a0a101637585119d279b1bbd23b3fa5a296e98f /units/miscellanea
parent386dec7a8a0a81931311355fd794bc423ba89944 (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/miscellanea')
-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 1f008cb2..ebc7c4de 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 94bb4106..b2027279 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