3 #include "parser-test.h"
5 #if 0 /* PARSER_EMBEDDED_CONFIG */
14 void run_test(struct parser_test *test)
16 struct discover_boot_option *opt;
17 struct discover_context *ctx;
19 test_read_conf_embedded(test, "/etc/yaboot.conf");
21 test_run_parser(test, "yaboot");
25 check_boot_option_count(ctx, 1);
27 opt = get_boot_option(ctx, 0);
29 check_name(opt, "linux");
30 check_resolved_local_resource(opt->boot_image, ctx->device, "/vmlinux");
31 check_resolved_local_resource(opt->initrd, ctx->device, "/initrd");