|
@@ -94,6 +94,8 @@ test_pt_protocol(void)
|
|
managed_proxy_t *mp = tor_malloc_zero(sizeof(managed_proxy_t));
|
|
managed_proxy_t *mp = tor_malloc_zero(sizeof(managed_proxy_t));
|
|
mp->conf_state = PT_PROTO_LAUNCHED;
|
|
mp->conf_state = PT_PROTO_LAUNCHED;
|
|
mp->transports = smartlist_new();
|
|
mp->transports = smartlist_new();
|
|
|
|
+ mp->argv = tor_malloc_zero(sizeof(char*)*2);
|
|
|
|
+ mp->argv[0] = tor_strdup("<testcase>");
|
|
|
|
|
|
/* various wrong protocol runs: */
|
|
/* various wrong protocol runs: */
|
|
|
|
|