From: Michael Tremer Date: Thu, 26 Jun 2025 13:20:19 +0000 (+0000) Subject: tests: Make the daemon test compile again X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62c0fa1abf95ce5a9871198fc3fef830a24a5159;p=pakfire.git tests: Make the daemon test compile again Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/daemon.c b/tests/libpakfire/daemon.c index 6b031826..90afe90c 100644 --- a/tests/libpakfire/daemon.c +++ b/tests/libpakfire/daemon.c @@ -24,16 +24,11 @@ static int test_daemon(const struct test* t) { struct pakfire_daemon* daemon = NULL; - const char* url = NULL; int r = EXIT_FAILURE; // We can only create the daemon ASSERT_SUCCESS(pakfire_daemon_create(&daemon, t->ctx)); - // Fetch the URL - ASSERT(url = pakfire_daemon_url(daemon)); - ASSERT_STRING_EQUALS(url, "https://pakfire.ipfire.org/"); - // Everything passed r = EXIT_SUCCESS;