diff options
| author | Rod Smith <rod.smith@canonical.com> | 2016-01-15 12:34:34 -0500 |
|---|---|---|
| committer | Rod Smith <rod.smith@canonical.com> | 2016-01-15 12:34:34 -0500 |
| commit | f0bd190996e0df7936dbf9bc0e234d0ffe42d4a4 (patch) | |
| tree | 79890d4026092053f635882e09efa2645b6efbcb /jobs | |
| parent | e15699c0886c22c453476301077d6387d1068e24 (diff) | |
Modified miscellanea/boot_mode test to check for active Secure Boot.
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/miscellanea.txt.in | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in index 249c6382..50059283 100644 --- a/jobs/miscellanea.txt.in +++ b/jobs/miscellanea.txt.in @@ -97,14 +97,8 @@ requires: cpuinfo.platform in ("i386", "x86_64", "aarch64") _summary: EFI-mode boot test _description: - Test to verify that the system booted in EFI mode rather than Legacy/BIOS mode. -command: - if [ -d "/sys/firmware/efi" ] ; then - echo "System booted in EFI mode" - else - echo "System did NOT boot in EFI mode" - exit 1 - fi + Test to verify that the system booted in EFI mode with Secure Boot active. +command: boot_mode_test plugin: shell category_id: 2013.com.canonical.plainbox::miscellanea |
