diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-06 20:42:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-06 20:42:18 -0400 |
commit | d14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e (patch) | |
tree | 22ec019ac0043d6e004404af728037d033dbe7d5 /src/test/test.c | |
parent | f36656cada48a2d9f51c857d8477a8060cb89b9d (diff) | |
download | tor-d14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e.tar.gz tor-d14c245a0f3733fa6b33d3c7c44fc7fe0bfc302e.zip |
Add unit test for ..get_start_of_next_voting_interval().
This functionality was covered only accidentally by our voting-test
code, and as such wasn't actually tested at all. The tests that
called it made its coverage nondeterministic, depending on what time
of day you ran the tests.
Closes ticket 26014.
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 b1e5345b3c..0ad33ec0c0 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -859,6 +859,7 @@ struct testgroup_t testgroups[] = { { "dir/", dir_tests }, { "dir_handle_get/", dir_handle_get_tests }, { "dir/md/", microdesc_tests }, + { "dir/voting-schedule/", voting_schedule_tests }, { "dos/", dos_tests }, { "entryconn/", entryconn_tests }, { "entrynodes/", entrynodes_tests }, |