]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Drop activate test
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Mar 2021 14:42:57 +0000 (14:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Mar 2021 14:42:57 +0000 (14:42 +0000)
These functions have been removed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/main.c

index ce508982cbe209d619f83b70b107bd5a060d017c..ccb1fbdb870b8a3628f0dff380976701ddf5d115 100644 (file)
@@ -35,20 +35,9 @@ static int test_path(const struct test* t) {
        return EXIT_SUCCESS;
 }
 
-static int test_activate(const struct test* t) {
-       int r = pakfire_activate(t->pakfire);
-       ASSERT(r == 0);
-
-       r = pakfire_deactivate(t->pakfire);
-       ASSERT(r == 0);
-
-       return 0;
-}
-
 int main(int argc, char** argv) {
        testsuite_add_test(test_init);
        testsuite_add_test(test_path);
-       testsuite_add_test(test_activate);
 
        return testsuite_run();
 }