mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Merge remote-tracking branch 'tor-gitlab/mr/363' into maint-0.3.5
This commit is contained in:
commit
32eea3b006
@ -885,9 +885,9 @@ test_failed_orconn_tracker(void *arg)
|
|||||||
#define CONNECTION_TESTCASE(name, fork, setup) \
|
#define CONNECTION_TESTCASE(name, fork, setup) \
|
||||||
{ #name, test_conn_##name, fork, &setup, NULL }
|
{ #name, test_conn_##name, fork, &setup, NULL }
|
||||||
|
|
||||||
/* where arg is an expression (constant, variable, compound expression) */
|
/* where arg is a string. */
|
||||||
#define CONNECTION_TESTCASE_ARG(name, fork, setup, arg) \
|
#define CONNECTION_TESTCASE_ARG(name, fork, setup, arg) \
|
||||||
{ #name "_" #arg, test_conn_##name, fork, &setup, (void *)arg }
|
{ #name "_" arg, test_conn_##name, fork, &setup, (void *)arg }
|
||||||
|
|
||||||
struct testcase_t connection_tests[] = {
|
struct testcase_t connection_tests[] = {
|
||||||
CONNECTION_TESTCASE(get_basic, TT_FORK, test_conn_get_basic_st),
|
CONNECTION_TESTCASE(get_basic, TT_FORK, test_conn_get_basic_st),
|
||||||
|
Loading…
Reference in New Issue
Block a user