summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-blscfg-opts-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-blscfg-opts-config.c')
-rw-r--r--test/parser/test-grub2-blscfg-opts-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parser/test-grub2-blscfg-opts-config.c b/test/parser/test-grub2-blscfg-opts-config.c
index 856aae2..fdce229 100644
--- a/test/parser/test-grub2-blscfg-opts-config.c
+++ b/test/parser/test-grub2-blscfg-opts-config.c
@@ -10,6 +10,8 @@ void run_test(struct parser_test *test)
struct discover_boot_option *opt;
struct discover_context *ctx;
+ test_add_dir(test, test->ctx->device, "/loader/entries");
+
test_add_file_string(test, test->ctx->device,
"/loader/entries/6c063c8e48904f2684abde8eea303f41-4.15.2-302.fc28.x86_64.conf",
"title Fedora (4.15.2-302.fc28.x86_64) 28 (Twenty Eight)\n"
OpenPOWER on IntegriCloud