X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-ubuntu-13_04-x86.c;h=45da55ff8b1686fec6b02b17d1e307cc268a5e10;hp=cc4d2838a1ba0325dfdf3c0e2d07af7b9cad39d5;hb=7d20772cc7b4d258ee878b4cb30b313f14502dc7;hpb=9974f2d82b9450eaccd7661b3bfabb686ab8e161 diff --git a/test/parser/test-grub2-ubuntu-13_04-x86.c b/test/parser/test-grub2-ubuntu-13_04-x86.c index cc4d283..45da55f 100644 --- a/test/parser/test-grub2-ubuntu-13_04-x86.c +++ b/test/parser/test-grub2-ubuntu-13_04-x86.c @@ -32,11 +32,13 @@ void run_test(struct parser_test *test) opt = get_boot_option(ctx, 3); check_unresolved_resource(opt->boot_image); + check_not_present_resource(opt->initrd); check_name(opt, "Memory test (memtest86+)"); check_args(opt, ""); opt = get_boot_option(ctx, 4); check_unresolved_resource(opt->boot_image); + check_not_present_resource(opt->initrd); check_name(opt, "Memory test (memtest86+, serial console 115200)"); check_args(opt, "console=ttyS0,115200n8"); @@ -67,8 +69,10 @@ void run_test(struct parser_test *test) opt = get_boot_option(ctx, 3); check_resolved_local_resource(opt->boot_image, dev, "/boot/memtest86+.bin"); + check_not_present_resource(opt->initrd); opt = get_boot_option(ctx, 4); check_resolved_local_resource(opt->boot_image, dev, "/boot/memtest86+.bin"); + check_not_present_resource(opt->initrd); }