Project

General

Profile

action #10760

grub_test: correct way to cancel GRUB_TIMEOUT

Added by dimstar almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2016-02-15
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

In the past, grub's timeout has been cancelled by pressing the 'up' key (in livecdreboot.pm). A rewrite/restructuring of this test split this logic into grub_test.pm

grub_test uses the semantically more correct 'ESC' key to cancel the timeout. On grub2-efi, though, this has the side effect that it does not only cancel the timeout but drops to the grub2 command line interface.

Quite some discussion happened already on
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1047#issuecomment-184180390 (attempting to revert to 'up' for the time being)
grub2-efi's behavior is under investigation in https://bugzilla.opensuse.org/show_bug.cgi?id=966701 (should ESC really drop to the CLI?)

History

#1 Updated by okurz over 6 years ago

  • Status changed from New to Resolved
  • Assignee set to okurz

bsc#966701 is RESOLVED FIXED.

grub test was changed with

commit 5acfcd8
Author: Oliver Kurz okurz@suse.de
Date: Mon May 30 10:58:22 2016 +0200

Support seabios version 1.9 and later

Fixes issues like
https://openqa.suse.de/tests/404286/modules/bootloader/steps/2
where the bootloader does not accept "f12" anymore where esc is expected.

Verification run for SLE seabios v1.8: http://lord.arch/tests/250

Also available in: Atom PDF