summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-lexer-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-lexer-error.c')
-rw-r--r--test/parser/test-grub2-lexer-error.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/parser/test-grub2-lexer-error.c b/test/parser/test-grub2-lexer-error.c
new file mode 100644
index 0000000..503ec99
--- /dev/null
+++ b/test/parser/test-grub2-lexer-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);
+}
OpenPOWER on IntegriCloud