X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-ubuntu-13_04-x86.c;h=2f9aefd47333aa02afa12b289d78a538765017d6;hp=60f1b1099bfca2629bb8cf40cd6fd50b3ece073c;hb=b6f99a457cb906277b172a0332a1e16ddba99228;hpb=1a0b831d24ff93b2621ae1d57eaf0471bf7c0398 diff --git a/test/parser/test-grub2-ubuntu-13_04-x86.c b/test/parser/test-grub2-ubuntu-13_04-x86.c index 60f1b10..2f9aefd 100644 --- a/test/parser/test-grub2-ubuntu-13_04-x86.c +++ b/test/parser/test-grub2-ubuntu-13_04-x86.c @@ -7,7 +7,8 @@ void run_test(struct parser_test *test) struct discover_context *ctx; struct discover_device *dev; - test_read_conf_file(test, "grub2-ubuntu-13_04-x86.conf"); + test_read_conf_file(test, "grub2-ubuntu-13_04-x86.conf", "/grub.cfg"); + test_run_parser(test, "grub2"); ctx = test->ctx; @@ -34,7 +35,7 @@ void run_test(struct parser_test *test) check_unresolved_resource(opt->boot_image); check_not_present_resource(opt->initrd); check_name(opt, "Memory test (memtest86+)"); - check_args(opt, ""); + check_args(opt, NULL); opt = get_boot_option(ctx, 4); check_unresolved_resource(opt->boot_image);