]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-grub2-ubuntu-13_04-x86.c
ui/ncurses: Allow text wrapping in select widgets
[petitboot] / test / parser / test-grub2-ubuntu-13_04-x86.c
index 60f1b1099bfca2629bb8cf40cd6fd50b3ece073c..2f9aefd47333aa02afa12b289d78a538765017d6 100644 (file)
@@ -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);