* grub-core/tests/videotest_checksum.c (videotest_checksum): Error out
if no unifont is found. Restore original keyboard.
This commit is contained in:
parent
095accd14b
commit
3f3e7326b7
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/tests/videotest_checksum.c (videotest_checksum): Error out
|
||||
if no unifont is found.
|
||||
Restore original keyboard.
|
||||
|
||||
2013-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/loader/i386/linux.c (grub_linux_setup_video): Add
|
||||
|
|
|
@ -265,7 +265,12 @@ static void
|
|||
videotest_checksum (void)
|
||||
{
|
||||
unsigned i;
|
||||
grub_font_load ("unicode");
|
||||
if (grub_font_load ("unicode") == 0)
|
||||
{
|
||||
grub_test_assert (0, "unicode font not found: %s", grub_errmsg);
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE (tests); i++)
|
||||
{
|
||||
grub_video_capture_start (&tests[i].mode_info,
|
||||
|
@ -277,6 +282,8 @@ videotest_checksum (void)
|
|||
|
||||
char *args[] = { 0 };
|
||||
grub_command_execute ("videotest", 0, args);
|
||||
|
||||
grub_terminal_input_fake_sequence_end ();
|
||||
grub_video_checksum_end ();
|
||||
grub_video_capture_end ();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue