From 2cee6d25ff97088d14640c65f1c26b51ca65dfc5 Mon Sep 17 00:00:00 2001 From: AlanMarshall Date: Thu, 21 Mar 2024 15:45:31 +0000 Subject: [PATCH] Add indication of secure boot state. --- tests/uefi_postinstall.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/uefi_postinstall.pm b/tests/uefi_postinstall.pm index 9b458a3c..0ed19fad 100644 --- a/tests/uefi_postinstall.pm +++ b/tests/uefi_postinstall.pm @@ -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 {