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
|
# logged in (but don't fail if it doesn't as we're not testing
|
||||||
# that)
|
# that)
|
||||||
if (check_screen 'gnome_reboot_confirm', 15) {
|
if (check_screen 'gnome_reboot_confirm', 15) {
|
||||||
# on F27+, default is Cancel, earlier, default is Restart
|
send_key 'tab';
|
||||||
my $version = lc(get_var("VERSION"));
|
|
||||||
send_key 'tab' if ($version eq 'rawhide' || $version > 26);
|
|
||||||
send_key 'ret';
|
send_key 'ret';
|
||||||
}
|
}
|
||||||
boot_to_login_screen;
|
boot_to_login_screen;
|
||||||
|
Loading…
Reference in New Issue
Block a user