]> git.ozlabs.org Git - petitboot/blob - test/parser/test-grub2-empty.c
discover: pxe: Avoid dereferencing null pointer
[petitboot] / test / parser / test-grub2-empty.c
1
2 #include "parser-test.h"
3
4 void run_test(struct parser_test *test)
5 {
6         __test_read_conf_data(test, test->ctx->device,
7                         "/grub2/grub.cfg", "", 0);
8         test_run_parser(test, "grub2");
9         check_boot_option_count(test->ctx, 0);
10 }