tor/src/test
Nick Mathewson d14c245a0f 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.
2018-05-06 20:42:18 -04:00
..
fuzz fuzz: Move init_protocol_warning_severity_level() into global_init() 2018-02-02 17:42:23 -05:00
bench.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
bt_test.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
ed25519_exts_ref.py Don't double hash the ed25519 blind key parameter. 2017-08-08 20:29:34 -04:00
ed25519_vectors.inc Don't double hash the ed25519 blind key parameter. 2017-08-08 20:29:34 -04:00
example_extrainfo.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
failing_routerdescs.inc Sign extrainfo documents with ed25519 2015-05-28 10:42:22 -04:00
fakechans.h test: Cleanup unused code in test_channel.c 2017-11-22 15:50:13 -05:00
fuzz_static_testcases.sh Run the copyright update script. 2017-03-15 16:13:17 -04:00
geoip_dummy tests: Add forgotten empty file required for geoip 2018-04-26 11:33:22 -04:00
hs_build_address.py prop224 client-side: Start validating onion address pubkeys. 2017-09-14 09:13:11 -04:00
hs_indexes.py test: Unit test for the hs indexes 2017-09-15 12:46:26 +03:00
hs_ntor_ref.py Make hs_ntor_ref.py work with python3 2017-09-18 10:48:28 -04:00
hs_test_helpers.c test: Improve HS v3 helper for building intro points. 2017-09-15 12:46:26 +03:00
hs_test_helpers.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
include.am Add unit test for ..get_start_of_next_voting_interval(). 2018-05-06 20:42:18 -04:00
log_test_helpers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
log_test_helpers.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
Makefile.nmake Add tests for circuitstats.c 2017-12-07 00:04:39 +00:00
ntor_ref.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
rend_test_helpers.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
rend_test_helpers.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
slow_ed25519.py
slownacl_curve25519.py
sr_commit_calc_ref.py test: Fix shared random unit test for big endian 2016-08-26 14:46:29 -04:00
sr_srv_calc_ref.py prop250: Add unit tests 2016-07-01 14:01:41 -04:00
test_accounting.c Make sure all C files have copyright/license notices 2017-10-27 10:59:36 -04:00
test_addr.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -04:00
test_address_set.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_address.c Revert 4438ef32's changes to test_address.c 2018-02-21 09:36:37 -05:00
test_bridges.c Fix a pointer size error in test_bridges.c 2018-04-17 19:45:59 -04:00
test_bt_cl.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_buffers.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_bwmgt.c token: Fix uint32_t to uint64_t conversion 2018-04-16 15:05:41 -04:00
test_cell_formats.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_cell_queue.c Update free functions into macros: src/or/ part 1 2017-12-08 14:47:19 -05:00
test_channel.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_channelpadding.c Wrap the function we use to run the event loop. 2018-04-05 12:36:27 -04:00
test_channeltls.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_checkdir.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_circuitbuild.c Capture expected log in test_circuitbuild.c 2017-04-03 15:24:59 -04:00
test_circuitlist.c cmux: Always use the cmux policy 2018-02-15 14:54:24 -05:00
test_circuitmux.c Rewrite time-handling in circuitmux_ewma to use monotime_coarse 2018-04-26 11:50:58 -04:00
test_circuitstats.c Fix a memory leak in build_unopened_fourhop 2018-01-24 12:08:39 -05:00
test_circuituse.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_compat_libevent.c Add a unit test for post-loop events 2018-04-13 10:44:15 -04:00
test_config.c mod: Move dirauth specific files to its own module 2018-04-27 11:40:44 -04:00
test_connection.c test: Add unittest for the OR connection failure cache 2018-03-27 12:43:39 -04:00
test_connection.h test: Move some test code to test helpers. 2017-07-07 11:12:26 -04:00
test_conscache.c Implement the various get_foodir_*() functions. 2017-12-05 19:49:29 -05:00
test_consdiff.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -04:00
test_consdiffmgr.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_containers.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_controller_events.c Remove TestingEnableTbEmptyEvent 2018-04-10 12:16:21 -04:00
test_controller.c Add GETINFO current-time/{local,utc} regression test 2018-04-16 20:37:50 -04:00
test_crypto_openssl.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_crypto_slow.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_crypto.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_data.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_descriptors.inc
test_dir_common.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_dir_common.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_handle_get.c vote: Move dirvote_recalculate_timing() to voting_schedule.c 2018-05-01 11:45:34 -04:00
test_dir.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_dns.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
test_dos.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_entryconn.c Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05:00
test_entrynodes.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_extorport.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_geoip.c Recover newline at the EOF, removed by mistake 2018-04-26 11:33:22 -04:00
test_guardfraction.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_handles.c Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
test_helpers.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_helpers.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_hs_cache.c Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05:00
test_hs_cell.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_hs_client.c coverage: Repeat the test for avoiding failed intro points 2018-05-01 19:58:39 -04:00
test_hs_common.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_hs_config.c Merge branch 'ticket20657_nickm_bugfixes_squashed' 2017-08-08 20:31:57 -04:00
test_hs_control.c Make hsdir_index in node_t a hsdir_index_t rather than a pointer. 2018-04-28 20:35:30 -04:00
test_hs_descriptor.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_hs_ntor_cl.c prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_ntor.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_hs_ntor.sh prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_service.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_hs.c Repair the legacy_hs/pick_tor2web_rendezvous_node unit test 2018-04-22 19:43:07 -04:00
test_introduce.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_key_expiration.sh repair test_key_expiration.sh 2017-09-15 09:04:22 -04:00
test_keygen.sh Add unit tests for cases of starting with bogus keygen arguments 2017-10-20 19:27:48 -04:00
test_keypin.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_link_handshake.c Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05:00
test_logging.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_microdesc.c mod: Move dirauth specific files to its own module 2018-04-27 11:40:44 -04:00
test_nodelist.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_ntor_cl.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_ntor.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test_oom.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_oos.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_options.c Rename *DownloadSchedule to *DownloadInitialDelay; make them ints 2018-04-22 15:55:09 -04:00
test_periodic_event.c Make unit tests pass with new dirserver role. 2018-04-30 10:36:00 -04:00
test_policy.c Remove the return value from the fascist_firewall_choose_address_* family of functions 2018-05-01 08:51:16 -04:00
test_procmon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_proto_http.c Let's get 100% coverage for proto_http while we're at it. 2017-09-27 21:45:55 -04:00
test_proto_misc.c Add unit test for buf_get_line(). 2017-09-28 08:35:30 -04:00
test_protover.c tests: Run all existing protover tests in both languages. 2018-04-02 19:59:14 +00:00
test_pt.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_pubsub.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_relay.c test: Fix memleak of channel cmux 2017-11-22 15:50:13 -05:00
test_relaycell.c Revert "Make ClientDNSRejectInternalAddresses testing-only." 2017-11-04 18:30:59 +01:00
test_relaycrypt.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_rendcache.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
test_replay.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
test_router.c Updates to fix check-spaces/check-changes warnings 2017-10-24 19:35:16 -04:00
test_routerkeys.c Implement the various get_foodir_*() functions. 2017-12-05 19:49:29 -05:00
test_routerlist.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_routerset.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
test_rust.sh Merge branch 'maint-0.3.3' 2018-03-23 11:19:19 -04:00
test_scheduler.c Remove redundant event2/event.h usage from test_scheduler.c 2018-04-05 12:36:28 -04:00
test_shared_random.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_socks.c Also test bracket-less IPv6 string validation 2018-03-28 07:39:03 -04:00
test_status.c heartbeat: Log the number of circuits killed because too many cells 2018-04-17 10:44:43 -04:00
test_storagedir.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_switch_id.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_switch_id.sh Coverage hack for test_switch_id.sh 2016-06-20 11:15:47 -04:00
test_threads.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_tortls.c Make test_tortls.c build with openssl no_deprecated. 2018-04-18 12:32:39 -04:00
test_util_format.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test_util_process.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_util_slow.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_util.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_voting_schedule.c Add unit test for ..get_start_of_next_voting_interval(). 2018-05-06 20:42:18 -04:00
test_workqueue_cancel.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_efd2.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_efd.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_pipe2.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_pipe.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_socketpair.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test_zero_length_keys.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test-child.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test-memwipe.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
test-network.sh Make test-network.sh always call chutney's test-network.sh 2017-03-01 13:28:30 +11:00
test-timers.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
test.c Add unit test for ..get_start_of_next_voting_interval(). 2018-05-06 20:42:18 -04:00
test.h Add unit test for ..get_start_of_next_voting_interval(). 2018-05-06 20:42:18 -04:00
testing_common.c Merge remote-tracking branch 'isis/bug24660_r1' 2018-05-03 13:50:18 -04:00
testing_rsakeys.c crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00
vote_descriptors.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
zero_length_keys.sh Integrate zero_length_keys test into the automake test suite. 2015-04-23 09:56:12 -04:00