2 #include "parser-test.h"
4 #if 0 /* PARSER_EMBEDDED_CONFIG */
7 menuentry 'Linux 1' --id=linux1 {
11 menuentry 'Linux 2' --id=linux2 {
16 void run_test(struct parser_test *test)
18 struct discover_boot_option *opt;
19 struct discover_context *ctx;
21 test_read_conf_embedded(test, "/grub2/grub.cfg");
22 test_run_parser(test, "grub2");
25 check_boot_option_count(ctx, 2);
26 opt = get_boot_option(ctx, 1);
27 check_is_default(opt);