From: Michael Tremer Date: Thu, 30 Jan 2025 11:11:00 +0000 (+0000) Subject: tests: archive: Make the test repository virtual X-Git-Tag: 0.9.30~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d18a86f569e8a20a94019b2375047bd0a084e3f;p=pakfire.git tests: archive: Make the test repository virtual Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/archive.c b/tests/libpakfire/archive.c index 32f9f4c9..b0f14749 100644 --- a/tests/libpakfire/archive.c +++ b/tests/libpakfire/archive.c @@ -222,11 +222,11 @@ static int test_import(const struct test* t) { ASSERT(archive); // Create a new repository - ASSERT_SUCCESS(pakfire_repo_create(&repo, t->pakfire, "tmp")); + ASSERT_SUCCESS(pakfire_repo_create(&repo, t->pakfire, "@tmp")); ASSERT(repo); // Add the package to the repository - ASSERT_SUCCESS(pakfire_repo_add_archive(repo, archive, &package)); + ASSERT_SUCCESS(pakfire_repo_import_archive(repo, archive, &package)); ASSERT(package); // Everything passed