summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-blscfg-opts-grubenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-blscfg-opts-grubenv.c')
-rw-r--r--test/parser/test-grub2-blscfg-opts-grubenv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parser/test-grub2-blscfg-opts-grubenv.c b/test/parser/test-grub2-blscfg-opts-grubenv.c
index c77c589..544a5de 100644
--- a/test/parser/test-grub2-blscfg-opts-grubenv.c
+++ b/test/parser/test-grub2-blscfg-opts-grubenv.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,
"/boot/grub2/grubenv",
"# GRUB Environment Block\n"
OpenPOWER on IntegriCloud