summaryrefslogtreecommitdiffstats
path: root/test/parser/test-pxe-local.c
blob: 3a8564531e7d4c1dde28ff6c66fc4b6905dbeae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "parser-test.h"

#if 0 /* PARSER_EMBEDDED_CONFIG */
menuentry 'Linux' {
	linux   /vmlinux
	initrd  /initrd
}
#endif

/* check that the PXE parser won't break on a local device */
void run_test(struct parser_test *test)
{
	test_read_conf_embedded(test, "/grub2/grub.cfg");

	test_run_parser(test, "pxe");

	check_boot_option_count(test->ctx, 0);
}
OpenPOWER on IntegriCloud