mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-10-13 03:15:08 +00:00
Ignore case difference
This commit is contained in:
parent
883159a7cc
commit
2fb99a593d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user