Update tests to support changes to pxe_parser
[petitboot] / test / parser / test-grub2-noeol.c
1
2 #include "parser-test.h"
3
4 void run_test(struct parser_test *test)
5 {
6         const char data[] = "true";
7
8         test_add_file_data(test, test->ctx->device, "/boot/grub/grubenv",
9                         data, sizeof(data));
10
11         __test_read_conf_data(test, test->ctx->device,
12                         "/boot/grub/grub.cfg", data, sizeof(data));
13
14         test_run_parser(test, "grub2");
15 }