]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-grub2-ubuntu-13_04-x86.c
test/parser: Allow checks for NULL boot_args
[petitboot] / test / parser / test-grub2-ubuntu-13_04-x86.c
index 60f1b1099bfca2629bb8cf40cd6fd50b3ece073c..8f9785862d3826d27da4f51ced71dd717d2b9dbb 100644 (file)
@@ -34,7 +34,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);