async: drop the now unused asynchronous_job()

This commit is contained in:
Lennart Poettering
2023-06-23 10:05:16 +02:00
parent 437f3e35b4
commit 78b680f99b
3 changed files with 1 additions and 61 deletions
+1 -12
View File
@@ -13,19 +13,8 @@
#include "tests.h"
#include "tmpfile-util.h"
static bool test_async = false;
static void *async_func(void *arg) {
test_async = true;
return NULL;
}
TEST(test_async) {
assert_se(asynchronous_job(async_func, NULL) >= 0);
TEST(test_asynchronous_sync) {
assert_se(asynchronous_sync(NULL) >= 0);
assert_se(test_async);
}
TEST(asynchronous_close) {