summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-ubuntu-13_04-x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-ubuntu-13_04-x86.c')
-rw-r--r--test/parser/test-grub2-ubuntu-13_04-x86.c4
1 files changed, 4 insertions, 0 deletions
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);
}
OpenPOWER on IntegriCloud