Add indication of secure boot state.

This commit is contained in:
Alan Marshall 2024-03-21 15:45:31 +00:00
parent 75db8324ad
commit 2cee6d25ff
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6
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 {