diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-12-20 17:03:50 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-21 13:26:38 -0500 |
commit | bc836d559dce5756f8ad2150d2351220ba7610f2 (patch) | |
tree | 211b3e4247210579c38d99dd98c3714aef6e8de7 /src/test/test_process_slow.c | |
parent | 2322b56389626969b85da605240cbaafbb98bb33 (diff) | |
download | tor-bc836d559dce5756f8ad2150d2351220ba7610f2.tar.gz tor-bc836d559dce5756f8ad2150d2351220ba7610f2.zip |
Don't initialize the process module manually in tests.
It's not longer needed for us to initialize the process module in tests.
See: https://bugs.torproject.org/28847
Diffstat (limited to 'src/test/test_process_slow.c')
-rw-r--r-- | src/test/test_process_slow.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/test_process_slow.c b/src/test/test_process_slow.c index a1f99bff0f..845662bde4 100644 --- a/src/test/test_process_slow.c +++ b/src/test/test_process_slow.c @@ -203,9 +203,6 @@ test_callbacks(void *arg) filename = TEST_PROCESS; #endif - /* Initialize Process subsystem. */ - process_init(); - /* Process callback data. */ process_data_t *process_data = process_data_new(); @@ -285,7 +282,6 @@ test_callbacks(void *arg) done: process_data_free(process_data); process_free(process); - process_free_all(); } static void @@ -300,9 +296,6 @@ test_callbacks_terminate(void *arg) filename = TEST_PROCESS; #endif - /* Initialize Process subsystem. */ - process_init(); - /* Process callback data. */ process_data_t *process_data = process_data_new(); @@ -332,7 +325,6 @@ test_callbacks_terminate(void *arg) done: process_data_free(process_data); process_free(process); - process_free_all(); } struct testcase_t slow_process_tests[] = { |