+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
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,
char *args[] = { 0 };
grub_command_execute ("videotest", 0, args);
+
+ grub_terminal_input_fake_sequence_end ();
grub_video_checksum_end ();
grub_video_capture_end ();
}