mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Simplify an 'if >F26' thing
We don't care about anything older than 27 any more. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d1e7b89efd
commit
1fd0097d1d
@ -81,9 +81,7 @@ sub run {
|
||||
# logged in (but don't fail if it doesn't as we're not testing
|
||||
# that)
|
||||
if (check_screen 'gnome_reboot_confirm', 15) {
|
||||
# on F27+, default is Cancel, earlier, default is Restart
|
||||
my $version = lc(get_var("VERSION"));
|
||||
send_key 'tab' if ($version eq 'rawhide' || $version > 26);
|
||||
send_key 'tab';
|
||||
send_key 'ret';
|
||||
}
|
||||
boot_to_login_screen;
|
||||
|
Loading…
Reference in New Issue
Block a user