X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-parser-error.c;fp=test%2Fparser%2Ftest-grub2-parser-error.c;h=a7a00a43474b2078ce80521d95728463b4b8dd95;hp=0000000000000000000000000000000000000000;hb=ffc167572a9d56c52908aebefe62ba3e3e2a9cf8;hpb=300859ca50c0ea5d9c17d27fd3e3538ce966e08a diff --git a/test/parser/test-grub2-parser-error.c b/test/parser/test-grub2-parser-error.c new file mode 100644 index 0000000..a7a00a4 --- /dev/null +++ b/test/parser/test-grub2-parser-error.c @@ -0,0 +1,13 @@ + +#include "parser-test.h" + +#if 0 /* PARSER_EMBEDDED_CONFIG */ +{ +#endif + +void run_test(struct parser_test *test) +{ + test_read_conf_embedded(test); + test_run_parser(test, "grub2"); + check_boot_option_count(test->ctx, 0); +}