diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-10-07 05:47:57 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-07 09:51:37 +0200 |
commit | f769518c9ac6ca6bef063092ddc0e1718a67f540 (patch) | |
tree | 2bf69333b29b19c03b9b6e02df1a66c055e116a2 /src/test | |
parent | network: use Network.name for bus path (diff) | |
download | systemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.tar.xz systemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.zip |
tree-wide: drop doubled empty lines
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-async.c | 1 | ||||
-rw-r--r-- | src/test/test-barrier.c | 1 | ||||
-rw-r--r-- | src/test/test-bpf-devices.c | 1 | ||||
-rw-r--r-- | src/test/test-execute.c | 1 | ||||
-rw-r--r-- | src/test/test-fileio.c | 1 | ||||
-rw-r--r-- | src/test/test-install-root.c | 1 | ||||
-rw-r--r-- | src/test/test-varlink-idl.c | 1 | ||||
-rw-r--r-- | src/test/test-varlink.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/src/test/test-async.c b/src/test/test-async.c index ee6bae2698..ed5fec74d3 100644 --- a/src/test/test-async.c +++ b/src/test/test-async.c @@ -114,5 +114,4 @@ TEST(asynchronous_rm_rf) { } } - DEFINE_TEST_MAIN(LOG_DEBUG); diff --git a/src/test/test-barrier.c b/src/test/test-barrier.c index 1e0da59c48..f965a6c06d 100644 --- a/src/test/test-barrier.c +++ b/src/test/test-barrier.c @@ -415,7 +415,6 @@ TEST_BARRIER(barrier_pending_exit, }), TEST_BARRIER_WAIT_SUCCESS(pid2)); - static int intro(void) { if (!slow_tests_enabled()) return log_tests_skipped("slow tests are disabled"); diff --git a/src/test/test-bpf-devices.c b/src/test/test-bpf-devices.c index 3993c35aa4..ae6be16956 100644 --- a/src/test/test-bpf-devices.c +++ b/src/test/test-bpf-devices.c @@ -248,7 +248,6 @@ static void test_policy_empty(bool add_mismatched, const char *cgroup_path, BPFP assert_se(wrong == 0); } - int main(int argc, char *argv[]) { _cleanup_free_ char *cgroup = NULL, *parent = NULL; _cleanup_(rmdir_and_freep) char *controller_path = NULL; diff --git a/src/test/test-execute.c b/src/test/test-execute.c index b068c3aee0..9e3288b7a9 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -422,7 +422,6 @@ static void test_exec_execsearchpath_environment_files(Manager *m) { (void) unlink("/tmp/test-exec_environmentfile.conf"); - r = write_string_file("/tmp/test-exec_execsearchpath_environmentfile-set.conf", path_set, WRITE_STRING_FILE_CREATE); ASSERT_OK(r); diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c index 474eacaf04..d76ef679a1 100644 --- a/src/test/test-fileio.c +++ b/src/test/test-fileio.c @@ -1147,5 +1147,4 @@ TEST(fdopen_independent) { f = safe_fclose(f); } - DEFINE_TEST_MAIN(LOG_DEBUG); diff --git a/src/test/test-install-root.c b/src/test/test-install-root.c index 3a623a8761..090407b8e3 100644 --- a/src/test/test-install-root.c +++ b/src/test/test-install-root.c @@ -1327,5 +1327,4 @@ static int intro(void) { return EXIT_SUCCESS; } - DEFINE_TEST_MAIN_WITH_INTRO(LOG_INFO, intro); diff --git a/src/test/test-varlink-idl.c b/src/test/test-varlink-idl.c index af48216865..bdac083571 100644 --- a/src/test/test-varlink-idl.c +++ b/src/test/test-varlink-idl.c @@ -367,7 +367,6 @@ static SD_VARLINK_DEFINE_INTERFACE( &vl_method_TestMethod, &vl_method_Done); - static void* server_thread(void *userdata) { _cleanup_(sd_varlink_server_unrefp) sd_varlink_server *server = NULL; _cleanup_(sd_event_unrefp) sd_event *event = NULL; diff --git a/src/test/test-varlink.c b/src/test/test-varlink.c index a80344bcd1..17a78633cc 100644 --- a/src/test/test-varlink.c +++ b/src/test/test-varlink.c @@ -260,7 +260,6 @@ static void *thread(void *arg) { assert_se(sd_varlink_collect(c, "io.test.DoSomethingMore", wrong, &j, &error_id) >= 0); assert_se(strcmp_ptr(error_id, "org.varlink.service.InvalidParameter") == 0); - assert_se(sd_varlink_collect(c, "io.test.DoSomethingMore", i, &j, &error_id) >= 0); assert_se(!error_id); |