X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-f20-ppc64.c;fp=test%2Fparser%2Ftest-grub2-f20-ppc64.c;h=fdba933f3a78d5192146b0d787a9f5be3e10cfa8;hb=d239d484e3d34da52024f6e97e7046774d7b299d;hp=0000000000000000000000000000000000000000;hpb=1b272c7d47390077eee0a0638329b1a7df521329;p=petitboot diff --git a/test/parser/test-grub2-f20-ppc64.c b/test/parser/test-grub2-f20-ppc64.c new file mode 100644 index 0000000..fdba933 --- /dev/null +++ b/test/parser/test-grub2-f20-ppc64.c @@ -0,0 +1,18 @@ + +#include "parser-test.h" + +void run_test(struct parser_test *test) +{ + struct discover_context *ctx; + + test_add_dir(test, test->ctx->device, "/ppc/ppc64"); + + test_read_conf_file(test, "grub2-f20-ppc.conf", + "/boot/grub/grub.cfg"); + + test_run_parser(test, "grub2"); + + ctx = test->ctx; + + check_boot_option_count(ctx, 3); +}