diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-06 15:17:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-06 15:17:47 -0400 |
commit | 1ee748e4ca80b6708e737b76184c0fb9980d55cd (patch) | |
tree | 8881927cf9a629652e257d48272ade38a09c747e /src/test/test_config.c | |
parent | 95fc085bf367c1559871b68b3e01f1dc084fab6a (diff) | |
download | tor-1ee748e4ca80b6708e737b76184c0fb9980d55cd.tar.gz tor-1ee748e4ca80b6708e737b76184c0fb9980d55cd.zip |
Fix coccinelle complaint in test_config.c
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r-- | src/test/test_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index 045dbde0d8..765db03c04 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -6413,11 +6413,13 @@ test_config_getinfo_config_names(void *arg) tor_free(answer); } +#ifndef COCCI #define CONFIG_TEST(name, flags) \ { #name, test_config_ ## name, flags, NULL, NULL } #define CONFIG_TEST_SETUP(suffix, name, flags, setup, setup_data) \ { #name#suffix, test_config_ ## name, flags, setup, setup_data } +#endif struct testcase_t config_tests[] = { CONFIG_TEST(adding_trusted_dir_server, TT_FORK), |