summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-noeol.c
blob: e2db85e72d8c91c5b737563ad9f287924f3fb610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#include "parser-test.h"

void run_test(struct parser_test *test)
{
	const char data[] = "true";

	test_add_file_data(test, test->ctx->device, "/boot/grub/grubenv",
			data, sizeof(data));

	__test_read_conf_data(test, test->ctx->device,
			"/boot/grub/grub.cfg", data, sizeof(data));

	test_run_parser(test, "grub2");
}
OpenPOWER on IntegriCloud