aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-18 14:38:31 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-18 14:40:12 -0400
commitf45e1fbd5b25735c75bed8767d9d50e279c4b63a (patch)
treeed755a43790fa2b93ee0f932e00fc81fc82197c4 /src/test/test.c
parentabedd35de08f2a2bd91d9d17e2f3cfd3b42ba52a (diff)
downloadtor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.tar
tor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.tar.gz
Start of a unit test for options_validate.
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too.
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c
index d1c5b176b..96401693c 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -2134,6 +2134,7 @@ extern struct testcase_t replaycache_tests[];
extern struct testcase_t cell_format_tests[];
extern struct testcase_t circuitlist_tests[];
extern struct testcase_t cell_queue_tests[];
+extern struct testcase_t options_tests[];
static struct testgroup_t testgroups[] = {
{ "", test_array },
@@ -2151,6 +2152,7 @@ static struct testgroup_t testgroups[] = {
{ "replaycache/", replaycache_tests },
{ "introduce/", introduce_tests },
{ "circuitlist/", circuitlist_tests },
+ { "options/", options_tests },
END_OF_GROUPS
};