]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Fix compilation of the archive test
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Mar 2025 11:15:23 +0000 (11:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Mar 2025 11:15:23 +0000 (11:15 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/archive.c

index ee51f1b964ad3b1d2421968b4c17a6d357821c33..2cb954bafdadd17698a7ced895edd2f3491c5e1d 100644 (file)
@@ -196,7 +196,7 @@ static int test_extract(const struct test* t) {
        ASSERT_SUCCESS(pakfire_archive_open(&archive, t->pakfire, TEST_SRC_PATH TEST_PKG1_PATH));
 
        // Extract the archive payload
-       ASSERT_SUCCESS(pakfire_archive_extract(archive, NULL, 0));
+       ASSERT_SUCCESS(pakfire_archive_extract(archive, NULL, 0, NULL));
 
        // Check if test file from the archive exists
        pakfire_path(t->pakfire, path, "%s", "/usr/bin/beep");