]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-grub2-blscfg-opts-config.c
discover/grub: Use different paths to search for the BLS directory
[petitboot] / test / parser / test-grub2-blscfg-opts-config.c
index 856aae2adf5fa1d7965b2289703bb17e4cd12d92..fdce2294b0eaaeb5e5c3814e77052ab76021d2f9 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,
                             "/loader/entries/6c063c8e48904f2684abde8eea303f41-4.15.2-302.fc28.x86_64.conf",
                             "title Fedora (4.15.2-302.fc28.x86_64) 28 (Twenty Eight)\n"