Skip to content

Commit

Permalink
Merge pull request #4794 from michelmno/mediacheck_timeout
Browse files Browse the repository at this point in the history
Add timeout in select_bootmenu_more for PowerPC
  • Loading branch information
Rodion Iafarov committed Apr 9, 2018
2 parents 8f7b512 + fa0b7f3 commit f4f1475
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions lib/opensusebasetest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,10 @@ sub select_bootmenu_more {

# after installation-images 14.210 added a submenu
if ($more && check_screen "inst-submenu-more", 1) {
if (get_var('OFW')) {
send_key_until_needlematch 'inst-onmore', 'up';
}
else {
send_key_until_needlematch('inst-onmore', 'down', 10, 5);
}
send_key_until_needlematch('inst-onmore', get_var('OFW') ? 'up' : 'down', 10, 5);
send_key "ret";
}
if (get_var('OFW')) {
send_key_until_needlematch $tag, 'up';
}
else {
send_key_until_needlematch($tag, 'down', 10, 3);
}
send_key_until_needlematch($tag, get_var('OFW') ? 'up' : 'down', 10, 3);
if (get_var('UEFI')) {
send_key 'e';
send_key 'down' for (1 .. 4);
Expand Down

0 comments on commit f4f1475

Please sign in to comment.