]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-grub2-lexer-error.c
discover/grub2: Clean up error-handling for grub2 parser & lexer
[petitboot] / test / parser / test-grub2-lexer-error.c
diff --git a/test/parser/test-grub2-lexer-error.c b/test/parser/test-grub2-lexer-error.c
new file mode 100644 (file)
index 0000000..503ec99
--- /dev/null
@@ -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);
+}