diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-04-13 17:38:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-04-13 17:38:31 -0400 |
commit | 5e6905ed99b7e7fb4cd329d9d1f49d9bb56104ab (patch) | |
tree | b3e7b2481fdf18e890ba34ae9160ffbed0b6587c | |
parent | ee7c50b8a7aa424c5584933ce44ac699f53688b2 (diff) | |
download | tor-5e6905ed99b7e7fb4cd329d9d1f49d9bb56104ab.tar.gz tor-5e6905ed99b7e7fb4cd329d9d1f49d9bb56104ab.zip |
Fix test naming, and fix tests on windows.
This is a bugfix against my fix for #40133, which has not yet
appeared in 0.3.5.
-rw-r--r-- | src/test/test_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_connection.c b/src/test/test_connection.c index 6f716f5758..7234d01627 100644 --- a/src/test/test_connection.c +++ b/src/test/test_connection.c @@ -885,9 +885,9 @@ test_failed_orconn_tracker(void *arg) #define CONNECTION_TESTCASE(name, fork, setup) \ { #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) \ - { #name "_" #arg, test_conn_##name, fork, &setup, (void *)arg } + { #name "_" arg, test_conn_##name, fork, &setup, (void *)arg } struct testcase_t connection_tests[] = { CONNECTION_TESTCASE(get_basic, TT_FORK, test_conn_get_basic_st), |