mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-08 06:21:24 +00:00
Ignore case difference
This commit is contained in:
parent
883159a7cc
commit
2fb99a593d
@ -10,7 +10,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
script_run 'efibootmgr';
|
script_run 'efibootmgr';
|
||||||
# now try deleting the "rocky" boot entry and rebooting, to check the fallback path
|
# 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
|
# check that worked
|
||||||
validate_script_output('efibootmgr', sub { $_ !~ m/.*rocky.*/s });
|
validate_script_output('efibootmgr', sub { $_ !~ m/.*rocky.*/s });
|
||||||
type_string("reboot\n");
|
type_string("reboot\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user