]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
tests: Fix cgroup tests building from source
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Jan 2024 16:02:03 +0000 (16:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Jan 2024 16:02:03 +0000 (16:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/cgroup.c

index f7db3e5657786b2ed30b747d670c610609c1e549..9cc41133464153d613db03b0f297d0445244a6df 100644 (file)
@@ -74,7 +74,7 @@ static int test_stats(const struct test* t) {
 
        // Run a few things
        for (unsigned int i = 0; i < 3; i++) {
-               ASSERT_SUCCESS(pakfire_jail_exec(jail, argv, NULL, NULL, NULL, 0));
+               ASSERT_SUCCESS(pakfire_jail_exec(jail, argv, 0));
        }
 
        // Try reading the stats into some invalid space