From ae099bd049182ef0008c3c509f49a8bbbaf99397 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Aug 28 2018 13:57:05 +0000 Subject: Fixed kernel_secureboot test to also validate new rolled-out key --- diff --git a/tests/p_kernel/02_kernel_secureboot_signed.sh b/tests/p_kernel/02_kernel_secureboot_signed.sh index fe6cc01..3138e9c 100755 --- a/tests/p_kernel/02_kernel_secureboot_signed.sh +++ b/tests/p_kernel/02_kernel_secureboot_signed.sh @@ -8,7 +8,7 @@ if [[ "$centos_ver" = "7" && "$arch" = "x86_64" ]] ; then for kernel in $(rpm -q kernel --queryformat '%{version}-%{release}.%{arch}\n') do t_Log "Validating kernel $kernel ..." - pesign --show-signature --in /boot/vmlinuz-${kernel}|grep -q 'Red Hat Inc.' + pesign --show-signature --in /boot/vmlinuz-${kernel}|egrep -q 'Red Hat Inc.|CentOS Secure Boot (key 1)' t_CheckExitStatus $? done else