summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorRod Smith <rod.smith@canonical.com>2016-10-19 15:35:34 -0400
committerRod Smith <rod.smith@canonical.com>2016-10-19 15:35:34 -0400
commit347444aa6deddfddc41eadc6a3030fbd5055e907 (patch)
treed48581f6affec442ed3b4d27de1c576d796d35f6 /jobs
parentced1c5c8a681e8c24969ea2ff07a0d992fa868c1 (diff)
New test to see if fwupdate is supported on a SUT.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/miscellanea.txt.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index 8710fed..ce2c02b 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -65,6 +65,25 @@ environ: PLAINBOX_SESSION_SHARE
command:
fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_results.log
+# The miscellanea/fwupdate job requires the fwupdate package
+unit: packaging meta-data
+os-id: debian
+Depends: fwupdate
+
+plugin: shell
+category_id: 2013.com.canonical.plainbox::miscellanea
+id: miscellanea/fwupdate
+estimated_duration: 1.0
+depends: miscellanea/efi_boot_mode
+requires:
+ cpuinfo.platform in ("i386", "x86_64", "aarch64", "armhf")
+ package.name == 'fwupdate'
+_description:
+ Determine if EFI firmware supports update from OS.
+_summary:
+ Check for firmware update support.
+command: fwupdate -s
+
plugin: attachment
category_id: 2013.com.canonical.plainbox::miscellanea
id: miscellanea/fwts_results.log