diff options
Diffstat (limited to 'test/parser/test-yaboot-empty.c')
-rw-r--r-- | test/parser/test-yaboot-empty.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/parser/test-yaboot-empty.c b/test/parser/test-yaboot-empty.c new file mode 100644 index 0000000..00d08ad --- /dev/null +++ b/test/parser/test-yaboot-empty.c @@ -0,0 +1,12 @@ +#include "parser-test.h" + +static const char empty[] = ""; + +void run_test(struct parser_test *test) +{ + test_read_conf_data(test, "/etc/yaboot.conf", empty); + + test_run_parser(test, "yaboot"); + + check_boot_option_count(test->ctx, 0); +} |