diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:38:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:40:12 -0400 |
commit | f45e1fbd5b25735c75bed8767d9d50e279c4b63a (patch) | |
tree | ed755a43790fa2b93ee0f932e00fc81fc82197c4 /src/test/test.c | |
parent | abedd35de08f2a2bd91d9d17e2f3cfd3b42ba52a (diff) | |
download | tor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.tar.gz tor-f45e1fbd5b25735c75bed8767d9d50e279c4b63a.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index d1c5b176b6..96401693cc 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 }; |