2 #include "parser-test.h"
4 #if 0 /* PARSER_EMBEDDED_CONFIG */
14 void run_test(struct parser_test *test)
16 struct discover_boot_option *opt;
18 test_read_conf_embedded(test, "/grub2/grub.cfg");
19 test_run_parser(test, "grub2");
21 check_boot_option_count(test->ctx, 2);
22 opt = get_boot_option(test->ctx, 0);
24 check_name(opt, "test.1");
25 check_is_default(opt);