]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-grub2-blscfg-multiple-bls.c
discover/grub: Use different paths to search for the BLS directory
[petitboot] / test / parser / test-grub2-blscfg-multiple-bls.c
index 8fd218c371e8b92135a565f8ed82c30a346dcb09..94f40d191fa7251eccd7c044e9f162a1aa0aa5f1 100644 (file)
@@ -9,6 +9,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"