aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 10:16:08 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commit630d8c7a1acda53b640b018039f7ec586e048ad7 (patch)
tree522c1852ca8bb9a4591a0af31523c13415a76e6b /src/test
parenta2bb66c3558be224f3537296ee0ebec179164f57 (diff)
downloadtor-630d8c7a1acda53b640b018039f7ec586e048ad7.tar.gz
tor-630d8c7a1acda53b640b018039f7ec586e048ad7.zip
With coccinelle, avoid includes in the middle of an expression.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 9b715b2ecf..162a499900 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -3815,7 +3815,9 @@ static void
test_config_default_fallback_dirs(void *arg)
{
const char *fallback[] = {
+#ifndef COCCI
#include "app/config/fallback_dirs.inc"
+#endif
NULL
};