]> git.ozlabs.org Git - petitboot/blob - test/parser/test-pxe-local.c
discover: Handle and track plugin_options
[petitboot] / test / parser / test-pxe-local.c
1 #include "parser-test.h"
2
3 #if 0 /* PARSER_EMBEDDED_CONFIG */
4 menuentry 'Linux' {
5         linux   /vmlinux
6         initrd  /initrd
7 }
8 #endif
9
10 /* check that the PXE parser won't break on a local device */
11 void run_test(struct parser_test *test)
12 {
13         test_read_conf_embedded(test, "/grub2/grub.cfg");
14
15         test_run_parser(test, "pxe");
16
17         check_boot_option_count(test->ctx, 0);
18 }