From 2fb99a593d94f3b2c663c894f4b138cf2c2da656 Mon Sep 17 00:00:00 2001 From: AlanMarshall Date: Sat, 6 Jul 2024 08:51:47 +0100 Subject: [PATCH] Ignore case difference --- tests/_secure_boot_fallback.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_secure_boot_fallback.pm b/tests/_secure_boot_fallback.pm index cd42189f..d421bbfe 100644 --- a/tests/_secure_boot_fallback.pm +++ b/tests/_secure_boot_fallback.pm @@ -10,7 +10,7 @@ sub run { } script_run 'efibootmgr'; # now try deleting the "rocky" boot entry and rebooting, to check the fallback path - assert_script_run('efibootmgr -b $(efibootmgr | grep rocky | cut -f1 | sed -e "s,[^0-9],,g") -B'); + assert_script_run('efibootmgr -b $(efibootmgr | grep -i rocky | cut -f1 | sed -e "s,[^0-9],,g") -B'); # check that worked validate_script_output('efibootmgr', sub { $_ !~ m/.*rocky.*/s }); type_string("reboot\n");