summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-empty.c')
-rw-r--r--test/parser/test-grub2-empty.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/parser/test-grub2-empty.c b/test/parser/test-grub2-empty.c
new file mode 100644
index 0000000..c7ebbeb
--- /dev/null
+++ b/test/parser/test-grub2-empty.c
@@ -0,0 +1,10 @@
+
+#include "parser-test.h"
+
+void run_test(struct parser_test *test)
+{
+ __test_read_conf_data(test, test->ctx->device,
+ "/grub2/grub.cfg", "", 0);
+ test_run_parser(test, "grub2");
+ check_boot_option_count(test->ctx, 0);
+}
OpenPOWER on IntegriCloud