From 2abb787a7be590a31cbbe1e33c756b0e6ffd7bc9 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Dec 18 2022 08:39:47 +0000 Subject: Ensuring we just install on c7 to be able to test it too Signed-off-by: Fabian Arrotin --- diff --git a/tests/p_grub2/01_grub2_secureboot_signed.sh b/tests/p_grub2/01_grub2_secureboot_signed.sh index fc5bd8c..97a0902 100755 --- a/tests/p_grub2/01_grub2_secureboot_signed.sh +++ b/tests/p_grub2/01_grub2_secureboot_signed.sh @@ -6,10 +6,6 @@ t_Log "Running $0 - Verifying that grub2-efi is correctly signed with correct c arch=$(uname -m) if [[ "$centos_ver" -ge 7 && "$arch" = "x86_64" ]] ; then - if [ ! -f /boot/efi/EFI/centos/grubx64.efi ];then - t_Log "grub2-efi not installed, can't test... skipping" - exit 0 - fi t_InstallPackage pesign grub2-efi pesign --show-signature --in /boot/efi/EFI/centos/grubx64.efi|egrep -q 'Red Hat Inc.|CentOS Secure Boot \(key 1\)' t_CheckExitStatus $?