From 9c6c81064ff028d32d3bf1a6f4fefe83e78567aa Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Mon, 25 Jun 2018 17:49:56 +0100 Subject: Add secure boot test for Ubuntu Core --- units/miscellanea/jobs.pxu | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'units/miscellanea') 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 @@ -145,6 +145,22 @@ _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 +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 -- cgit v1.2.3