-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grub_test: use 'up' instead of 'esc' to cancel timeout #1047
Conversation
grub2-efi falls to the command prompt when pressing esc, which is not what we intend to do.
if is a product bug for uefi, i don't get why we should change the "esc" keyboard to "up". Up in a testing perspective, is more unsafer then "esc". |
a) it's not clear if it's a product bug - that's up to the bug report to identify |
Dimstar you are a release manager, i'm a tester. we have two different perspectives. if there is a bug, test should fail. |
A test can fail if it discovers a regression - not because somebody came up with a new test that never worked. I can implement hundreds of those and never releaase anything anymore |
my test work for all scenarios, not uefi. that's different, as what you are saying. Btw why uefi use a different scenario, that's the question. |
it's grub2 vs grub2-efi... it's different code. I did not say that your test does not work in other cases - I said it breaks uefi, which was not broken prior to the rewrite. There is no 'cancel the timer' key in grub. if 'up' is too insecure, pressing 'right' might be safer (left moves the cursor in a possibly already typed kernel command, right moves it only more to the right) |
i would propose that maxlin say his opinion, because he introduced the key "Up". Additionaly, we can use "up" and "down" so the problem is fixed. |
LGTM I also thought about 'left' and 'right' but that should be properly investigated as well as "up" and "down", e.g. in efi shell mode, in non-uefi, when booting an already installed system with a grub saved entry, etc. I recommend any of you can open a progress issue to investigate this further. This PR can be merged as is as it restores the previous behaviour. |
'right' is no option in grub2-efi: it behaves like RET and executes the boot |
do not try 'right', it was the same behavior of 'ret' in both grub2 and grub2-efi AFAIK. so 'up' and 'left' is considerable and usable here IMO. |
although 'up' and 'left' sounds no difference here, but if the boot entry's order was changed due to a bug or intentional behavior, 'up' can make the test failure as what we expected, ie. hightlight bar is changing to another entry, so we're noticed. |
grub_test: use 'up' instead of 'esc' to cancel timeout
grub2-efi falls to the command prompt when pressing esc, which is not what
we intend to do.
Reported as https://bugzilla.opensuse.org/show_bug.cgi?id=966701 for validation