aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-27 16:43:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-27 16:59:56 -0400
commit696f6f15697260255146d634e1529202cc4c2b77 (patch)
treea5b98f21bd227c96c9b88193e6dec64b10b9987c /src/test
parent0a9d8dcf2b0de62402efacc0fa4bc9a29109a6c0 (diff)
downloadtor-696f6f15697260255146d634e1529202cc4c2b77.tar.gz
tor-696f6f15697260255146d634e1529202cc4c2b77.zip
Split confline into confline and conffile.
The "conffile" module knows about includes and filesystem access, whereas confline doesn't. This will make it possible to put these functions into libraries without introducing a cycle.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 5abc97fc3b..dcdaa2ed59 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -48,6 +48,8 @@
#include "or/port_cfg_st.h"
#include "or/routerinfo_st.h"
+#include "common/conffile.h"
+
static void
test_config_addressmap(void *arg)
{
@@ -5731,4 +5733,3 @@ struct testcase_t config_tests[] = {
CONFIG_TEST(compute_max_mem_in_queues, 0),
END_OF_TESTCASES
};
-