diff options
author | David Goulet <dgoulet@torproject.org> | 2019-05-30 08:55:40 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-08-06 07:58:14 -0400 |
commit | fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7 (patch) | |
tree | cba52483f58185274ee9edb04523f41b892bdd7b /src/test/test.c | |
parent | 9f738be8937d675929b43a149d706160641a089d (diff) | |
download | tor-fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7.tar.gz tor-fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7.zip |
test: Add hs_dos.c unit tests
Currently test the only available function which is hs_dos_can_send_intro2()
within the HS anti-DoS subsystem.
Closes #15516
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 266b7454a3..b9a1da06f0 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -877,6 +877,7 @@ struct testgroup_t testgroups[] = { { "hs_config/", hs_config_tests }, { "hs_control/", hs_control_tests }, { "hs_descriptor/", hs_descriptor }, + { "hs_dos/", hs_dos_tests }, { "hs_intropoint/", hs_intropoint_tests }, { "hs_ntor/", hs_ntor_tests }, { "hs_service/", hs_service_tests }, |