mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
condition. * tests/grub_func_test.in: Increase memory allocation.
This commit is contained in:
1 parent
6a74c4dfff
commit
31747dd521
3 files changed
+14
-1
No files matched your search
@@ -116,6 +116,12 @@ gfxterm_menu (void)
|
||||
grub_video_capture_start (&grub_test_video_modes[i],
|
||||
grub_video_fbstd_colors,
|
||||
grub_test_video_modes[i].number_of_colors);
|
||||
if (grub_errno)
|
||||
{
|
||||
grub_test_assert (0, "can't start capture: %d: %s",
|
||||
grub_errno, grub_errmsg);
|
||||
return;
|
||||
}
|
||||
grub_terminal_input_fake_sequence ((int []) { -1, -1, -1, GRUB_TERM_KEY_DOWN, -1, 'e',
|
||||
-1, GRUB_TERM_KEY_RIGHT, -1, 'x', -1, '\e', -1, '\e' }, 14);
|
||||
|
||||
|
||||
Reference in new issue
Block a user