Ignore case difference

This commit is contained in:
Alan Marshall 2024-07-06 08:51:47 +01:00
parent 883159a7cc
commit 2fb99a593d
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6

View File

@ -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");