diff --git a/tests/p_grub2/01_grub2_secureboot_signed.sh b/tests/p_grub2/01_grub2_secureboot_signed.sh index 02bfc6a..002dc3c 100755 --- a/tests/p_grub2/01_grub2_secureboot_signed.sh +++ b/tests/p_grub2/01_grub2_secureboot_signed.sh @@ -6,7 +6,7 @@ t_Log "Running $0 - Verifying that grub2-efi is correctly signed with correct c if [ "$centos_ver" = "7" ] ; then t_InstallPackage pesign grub2-efi pesign --show-signature --in /boot/efi/EFI/centos/grubx64.efi|grep -q 'Red Hat Inc.' - t_CheckExitStatus 0 + t_CheckExitStatus $? else t_log "previous versions than CentOS 7 aren't using secureboot ... skipping" exit 0 diff --git a/tests/p_shim/01_shim_secureboot_signed.sh b/tests/p_shim/01_shim_secureboot_signed.sh index ce7c2d6..81e45ec 100755 --- a/tests/p_shim/01_shim_secureboot_signed.sh +++ b/tests/p_shim/01_shim_secureboot_signed.sh @@ -6,7 +6,7 @@ t_Log "Running $0 - Verifying that shim.efi is correctly signed with correct ce if [ "$centos_ver" = "7" ] ; then t_InstallPackage pesign shim pesign --show-signature --in /boot/efi/EFI/centos/shim.efi|grep -q 'Red Hat Inc.' - t_CheckExitStatus 0 + t_CheckExitStatus $? else t_log "previous versions than CentOS 7 aren't using shim/secureboot ... skipping" exit 0