diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-21 13:26:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-21 13:26:47 -0500 |
commit | ab4395d08206d82f69512340cf5372d5121561ad (patch) | |
tree | c693d3802b233ea039b584802b3aec5ffb6aa543 /src/test/test_pt.c | |
parent | 9190f43b1a9a6cb4eee02c6dc0a5fae17f9bfc59 (diff) | |
parent | bc836d559dce5756f8ad2150d2351220ba7610f2 (diff) | |
download | tor-ab4395d08206d82f69512340cf5372d5121561ad.tar.gz tor-ab4395d08206d82f69512340cf5372d5121561ad.zip |
Merge branch 'ticket28847'
Diffstat (limited to 'src/test/test_pt.c')
-rw-r--r-- | src/test/test_pt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/test_pt.c b/src/test/test_pt.c index 8de687c866..60a044aeca 100644 --- a/src/test/test_pt.c +++ b/src/test/test_pt.c @@ -151,8 +151,6 @@ test_pt_get_transport_options(void *arg) config_line_t *cl = NULL; (void)arg; - process_init(); - execve_args = tor_malloc(sizeof(char*)*2); execve_args[0] = tor_strdup("cheeseshop"); execve_args[1] = NULL; @@ -192,7 +190,6 @@ test_pt_get_transport_options(void *arg) config_free_lines(cl); managed_proxy_destroy(mp, 0); smartlist_free(transport_list); - process_free_all(); } static void @@ -256,8 +253,6 @@ test_pt_get_extrainfo_string(void *arg) char *s = NULL; (void) arg; - process_init(); - argv1 = tor_malloc_zero(sizeof(char*)*3); argv1[0] = tor_strdup("ewige"); argv1[1] = tor_strdup("Blumenkraft"); @@ -291,7 +286,6 @@ test_pt_get_extrainfo_string(void *arg) smartlist_free(t1); smartlist_free(t2); tor_free(s); - process_free_all(); } static int @@ -355,8 +349,6 @@ test_pt_configure_proxy(void *arg) managed_proxy_t *mp = NULL; (void) arg; - process_init(); - dummy_state = tor_malloc_zero(sizeof(or_state_t)); MOCK(process_read_stdout, process_read_stdout_replacement); @@ -501,7 +493,6 @@ test_pt_configure_proxy(void *arg) tor_free(mp->argv[0]); tor_free(mp->argv); tor_free(mp); - process_free_all(); } /* Test the get_pt_proxy_uri() function. */ |