X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-menuentry-formats.c;h=3c6f4d7fb9d3fd1954244d12cb301888afecda79;hp=132ce8d8ccf0c6abbdd28712921fb0ba7976b4e0;hb=2c97f136757b5428bb68f91cfa723990dcd985c8;hpb=00a881a1adb6f656049939adecb9bf9edd29a658 diff --git a/test/parser/test-grub2-menuentry-formats.c b/test/parser/test-grub2-menuentry-formats.c index 132ce8d..3c6f4d7 100644 --- a/test/parser/test-grub2-menuentry-formats.c +++ b/test/parser/test-grub2-menuentry-formats.c @@ -20,6 +20,9 @@ menuentry "test.8" { menuentry "test.9" { linux /vmlinux } +menuentry "" { + linux /vmlinux + } #endif void run_test(struct parser_test *test) @@ -32,7 +35,7 @@ void run_test(struct parser_test *test) test_run_parser(test, "grub2"); - check_boot_option_count(test->ctx, 10); + check_boot_option_count(test->ctx, 11); for (i = 0; i < 8; i++) { opt = get_boot_option(test->ctx, i); str[5] = i + '0';