2 #include "parser-test.h"
4 #if 0 /* PARSER_EMBEDDED_CONFIG */
5 if [ -n "$extra_cmdline" ]; then
6 submenu "Bootable snapshot #$snapshot_num" {
7 menuentry "If OK, run 'snapper rollback $snapshot_num' and reboot." { true; }
10 menuentry test { linux /vmlinux }
13 void run_test(struct parser_test *test)
15 struct discover_boot_option *opt;
16 struct discover_context *ctx;
18 test_read_conf_embedded(test, "/grub2/grub.cfg");
20 test_run_parser(test, "grub2");
24 check_boot_option_count(ctx, 1);
25 opt = get_boot_option(ctx, 0);
26 check_name(opt, "test");