Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
5e6905ed
Commit
5e6905ed
authored
Apr 13, 2021
by
Nick Mathewson
👉
Browse files
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.
parent
ee7c50b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/test_connection.c
View file @
5e6905ed
...
...
@@ -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 a
n 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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment