* grub-core/tests/cmdline_cat_test.c (cmdline_cat_test): Ignore errors
of loading gfxterm as gfxterm is embed in kernel on some platforms. * grub-core/tests/gfxterm_menu.c (gfxterm_menu): Likewise. Load gfxmenu.
This commit is contained in:
parent
b80c2d6d4b
commit
0ab8e025c1
3 changed files with 12 additions and 0 deletions
|
@ -74,6 +74,7 @@ cmdline_cat_test (void)
|
|||
unsigned i;
|
||||
|
||||
grub_dl_load ("gfxterm");
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
||||
if (grub_font_load ("unicode") == 0)
|
||||
{
|
||||
|
|
|
@ -101,6 +101,10 @@ gfxterm_menu (void)
|
|||
grub_dl_load ("gettext");
|
||||
grub_dl_load ("gfxterm");
|
||||
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
||||
grub_dl_load ("gfxmenu");
|
||||
|
||||
if (grub_font_load ("unicode") == 0)
|
||||
{
|
||||
grub_test_assert (0, "unicode font not found: %s", grub_errmsg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue