summaryrefslogtreecommitdiff
path: root/units/miscellanea
diff options
authorPMR <pmr@pmr-lander>2018-06-28 16:35:41 +0000
committerPMR <pmr@pmr-lander>2018-06-28 16:35:41 +0000
commit28789c9f43d7da630e56d06abc33f4d57e7de16d (patch)
tree6bce14f4253a91630646be5516bf03488e88fa05 /units/miscellanea
parent6392745efbe2b708fe7a9fdbedb530f321841894 (diff)
parent05a97f6894458eb6dfa86e6146976eee421f1581 (diff)
Merge #348581 from ~jocave/plainbox-provider-checkbox:secure-boot-check-snappy
Diffstat (limited to 'units/miscellanea')
-rw-r--r--units/miscellanea/jobs.pxu16
1 files changed, 16 insertions, 0 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 4a9980ba..a1d4f5a1 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -148,6 +148,22 @@ command: boot_mode_test secureboot
plugin: shell
category_id: com.canonical.plainbox::miscellanea
estimated_duration: 0.5
+unit: template
+template-resource: model_assertion
+template-unit: job
+requires:
+ executable.name == 'dumpimage'
+ executable.name == 'mokutil'
+id: miscellanea/secure_boot_mode_{gadget}
+_summary: Test that {gadget} Ubuntu Core system booted with Secure Boot active
+_description:
+ Test to verify that the system booted with Secure Boot active.
+command:
+ boot_mode_test_snappy.py {gadget} {kernel}
+
+plugin: shell
+category_id: com.canonical.plainbox::miscellanea
+estimated_duration: 0.5
user: root
id: miscellanea/efi_pxeboot
requires: