Merge pull request #209 from AlanMarshall/sb-status

Indication of secure boot state.
This commit is contained in:
Alan Marshall 2024-04-06 15:01:33 +01:00 committed by GitHub
commit 35ebf208a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ sub run {
console_loadkeys_us;
# this test shows if the system is booted with efi
assert_script_run '[ -d /sys/firmware/efi/ ]';
# this test shows if the system is secure boot
script_run 'mokutil --sb-state';
}
sub test_flags {