discover/grub: Use different paths to search for the BLS directory
[petitboot] / test / parser / test-grub2-blscfg-opts-grubenv.c
index c77c589b77079f7810e9952324ba1b973920ceb4..544a5de4d23abcad407a33dbf844806e5a81e351 100644 (file)
@@ -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"