]> git.ipfire.org Git - pakfire.git/commitdiff
test: Have cgroup test functions return success at the end
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Apr 2021 19:16:08 +0000 (19:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Apr 2021 19:16:08 +0000 (19:16 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/cgroup.c

index 95df51bbc9d7e51e540a13ac0199797fae64cfb7..61502d95540228f10e277b0376629371f350bebf 100644 (file)
@@ -130,6 +130,8 @@ static int test_killall(const struct test* t) {
        ASSERT_SUCCESS(
                pakfire_cgroup_destroy(t->pakfire, "pakfire/test")
        );
+
+       return EXIT_SUCCESS;
 }
 
 static int test_cpustat(const struct test* t) {
@@ -161,6 +163,8 @@ static int test_cpustat(const struct test* t) {
        ASSERT_SUCCESS(
                pakfire_cgroup_destroy(t->pakfire, "pakfire/test")
        );
+
+       return EXIT_SUCCESS;
 }
 
 static int test_nice(const struct test* t) {