diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2014-05-24 15:03:14 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-23 10:07:17 -0500 |
commit | 3966145dff817adb67e5b46020632d55f19e289f (patch) | |
tree | 2dc45c468a33e3f5c661890b074830497e9c04be /src/test/test.c | |
parent | fef65fa64341fb70df0e7b34d91d3b08a74e7aad (diff) | |
download | tor-3966145dff817adb67e5b46020632d55f19e289f.tar.gz tor-3966145dff817adb67e5b46020632d55f19e289f.zip |
Refactor code that looks up addresses from interfaces
Now the code has separate implementation and examination functions,
uses smartlists sanely, and has relatively decent test coverage.
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 c96b396599..ed3013ce14 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1287,6 +1287,7 @@ static struct testcase_t test_array[] = { }; extern struct testcase_t addr_tests[]; +extern struct testcase_t address_tests[]; extern struct testcase_t buffer_tests[]; extern struct testcase_t crypto_tests[]; extern struct testcase_t container_tests[]; @@ -1319,6 +1320,7 @@ static struct testgroup_t testgroups[] = { { "buffer/", buffer_tests }, { "socks/", socks_tests }, { "addr/", addr_tests }, + { "address/", address_tests }, { "crypto/", crypto_tests }, { "container/", container_tests }, { "util/", util_tests }, |