tor/src/test
Mike Perry bbb974234c Refactor intro machines, stage 2/2: Move histogram code.
The client side had garbage histograms and deadcode here, too. That code has
been removed.

The tests have also been updated to properly test the intro circ by sending
padding from the relay side to the client, and verifying that both shut down
when padding was up. (The tests previously erroneously tested only the client
side of intro circs, which actually were supposed to be doing nothing).
2019-05-16 19:21:19 +00:00
..
fuzz Merge remote-tracking branch 'tor-github/pr/950' 2019-05-01 09:11:20 -04:00
bench.c Add a benchmark for our several PRNGs. 2019-02-14 09:26:40 -05:00
bt_test.py Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ed25519_exts_ref.py Bump copyright date to 2019 2019-01-16 12:33:22 -05: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
fakechans.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
fuzz_static_testcases.sh Fix shellcheck warning in fuzz_static_testcases.sh 2019-02-06 11:01:22 +02: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 Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
hs_test_helpers.c test/hs: Re-enable the IPv6 intro point in the HS tests 2019-04-24 17:29:10 +10:00
hs_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
include.am Merge branch 'tor-github/pr/976' 2019-05-13 07:34:00 -04:00
log_test_helpers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
log_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
Makefile.nmake Circuit padding tests. 2019-01-02 15:25:55 +02:00
ntor_ref.py Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ope_ref.py Stop assuming that /usr/bin/python3 exists 2019-03-27 11:07:55 +10:00
prob_distr_mpfr_ref.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ptr_helpers.c Move casts to separate C file to prevent compiler from optimising them away 2019-03-20 18:54:11 +02:00
ptr_helpers.h Add header guards to ptr_helpers.h 2019-03-26 09:49:32 +02:00
rend_test_helpers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
rend_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
rng_test_helpers.c Make sure that the rng is not replaced if it is already replaced. 2019-04-30 11:11:39 -04:00
rng_test_helpers.h Add a testing PRNG replacement that returns canned data. 2019-04-30 11:11:39 -04:00
rust_supp.txt Add a leak suppression for backtrace_alloc 2018-06-20 18:02:49 -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-memwipe.c Merge branch 'maint-0.3.4' into maint-0.3.5 2019-02-27 09:38:04 +10:00
test-network.sh Remove no-longer needed logging statements 2019-04-02 12:59:37 +03:00
test-process.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test-timers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test.c Merge branch 'tor-github/pr/994' 2019-05-07 08:02:39 -04:00
test.h tests: Implement unit tests for SENDME v1 2019-04-29 12:17:57 -04:00
test_accounting.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_addr.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_address.c Downgrade some LOG_ERR messages in the address/* tests to warnings 2019-02-26 09:53:59 +10:00
test_address_set.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_bridges.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_bt.sh Use setrlimit instead of ulimit -c in backtrace tests 2019-02-20 12:06:26 -05:00
test_bt_cl.c Use tor_assertf{_nonfatal} in code 2019-03-29 14:25:59 -04:00
test_btrack.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_buffers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_bwmgt.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_cell_formats.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_cell_queue.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_channel.c circ: Remove n_mux and p_mux members 2019-03-14 23:54:05 -04:00
test_channelpadding.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_channeltls.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_checkdir.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_circuitbuild.c Make nodelist_get_list() return a const pointer. 2019-04-26 10:36:49 -04:00
test_circuitlist.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_circuitmux.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_circuitpadding.c Refactor intro machines, stage 2/2: Move histogram code. 2019-05-16 19:21:19 +00:00
test_circuitstats.c Hiding crypt_path_t: Rename some functions to fit the crypt_path API. 2019-05-03 18:15:26 +03:00
test_circuituse.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_compat_libevent.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_config.c kvline: handle empty alues as well as empty keys 2019-04-25 14:13:03 -04:00
test_connection.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_connection.h Fix all nonconformant headers' guard macros. 2019-03-12 15:20:22 -04:00
test_conscache.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_consdiff.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_consdiffmgr.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_containers.c Document check for 30176, since it's a bit subtle. 2019-04-15 14:52:08 -04:00
test_controller.c Merge branch 'tor-github/pr/983' 2019-04-30 19:13:30 +03:00
test_controller_events.c Split all controller events code into a new control_events.c 2019-03-25 12:11:59 -04:00
test_crypto.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_crypto_ope.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_crypto_openssl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_crypto_rng.c Add a quick test for get_thread_fast_rng() 2019-02-19 15:36:11 -05:00
test_crypto_slow.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_data.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_descriptors.inc
test_dir.c crypto_format: Remove the return values from digest256_to_base64() 2019-04-05 15:17:19 +10:00
test_dir_common.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_dir_common.h Fix all nonconformant headers' guard macros. 2019-03-12 15:20:22 -04:00
test_dir_handle_get.c 30001: Fix a race condition in test_dir_handle_get.c 2019-04-03 10:16:18 -04:00
test_dispatch.c Add test for dispatch_send() fast path. 2019-03-25 16:35:34 -04:00
test_dns.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_dos.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_entryconn.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_entrynodes.c Use a linear algorithm to subtract two nodelists. 2019-04-26 11:04:44 -04:00
test_extorport.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_geoip.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_guardfraction.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_handles.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_helpers.c Make nodelist_get_list() return a const pointer. 2019-04-26 10:36:49 -04:00
test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_hs_cache.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_hs_cell.c hs: Onion services put IPv6 addresses in service descriptors 2019-01-31 07:53:22 +01:00
test_hs_client.c Merge branch 'tor-github/pr/973' 2019-05-10 12:49:01 +03:00
test_hs_common.c Make nodelist_get_list() return a const pointer. 2019-04-26 10:36:49 -04:00
test_hs_config.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs_control.c crypto_format: Remove the return values from digest256_to_base64() 2019-04-05 15:17:19 +10:00
test_hs_descriptor.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c hs: Onion services put IPv6 addresses in service descriptors 2019-01-31 07:53:22 +01:00
test_hs_ntor.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs_ntor.sh prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_ntor_cl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs_service.c Merge branch 'tor-github/pr/1000' 2019-05-08 08:02:28 -04:00
test_introduce.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_key_expiration.sh Fix SC2015 warning 2019-04-03 18:03:34 +03:00
test_keygen.sh Fix all instances of SC2015 in test_keygen.sh 2019-02-01 21:41:14 +02:00
test_keypin.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_link_handshake.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_logging.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_mainloop.c Implement an DormantCanceledByStartup option 2019-04-04 11:48:36 -04:00
test_microdesc.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_namemap.c Unit test for namemap_fmt_name() 2019-03-25 16:35:34 -04:00
test_netinfo.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_nodelist.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_ntor.sh
test_ntor_cl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_oom.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_oos.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_options.c Tests for bugs 28683, 30173, and 29203. 2019-05-13 14:30:35 -04:00
test_parsecommon.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_pem.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_periodic_event.c Rename and clarify some functions for periodic events 2019-04-30 11:14:59 -04:00
test_policy.c Add firewall_choose_address_ls() and hs_get_extend_info_from_lspecs() tests 2019-04-24 17:28:38 +10:00
test_prob_distr.c Update test_prob_distr to use new reproducible RNG override code 2019-04-30 11:11:39 -04:00
test_process.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_process_slow.c One more 32-bit clang warning 2019-01-24 15:23:06 -05:00
test_procmon.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_proto_http.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_proto_misc.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_protover.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_pt.c Split command-handling and authentication from control.c 2019-03-25 14:06:56 -04:00
test_ptr_slow.c Move sizeof check to torint.h 2019-03-25 10:17:30 +02:00
test_pubsub_build.c Remove message/subsystem numbers from log messages 2019-03-26 19:56:39 -04:00
test_pubsub_msg.c Rename DISPATCH_DEFINE_TYPE() to DISPATCH_REGISTER_TYPE() 2019-03-25 16:35:34 -04:00
test_rebind.py Merge branch 'maint-0.3.5' 2018-12-19 15:36:08 -05:00
test_rebind.sh Fix shellcheck warning in test_rebind.sh 2019-01-22 15:14:16 +02:00
test_relay.c Merge branch 'bug23512-v4-029-fixes-keep-typedef' into bug23512-v4-034-fixes 2019-03-08 19:37:18 +10:00
test_relaycell.c Revert "Hiding crypt_path_t: Create a constructor for crypt_path_t." 2019-05-03 18:15:26 +03:00
test_relaycrypt.c Hiding crypt_path_t: Change code to use the privatization macro. 2019-05-03 18:15:26 +03:00
test_rendcache.c test: Fix a warning underflow in rend_cache/clean 2019-02-12 09:15:41 -05:00
test_replay.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_rng.c Add a test-rng program so we can pipe to dieharder. 2019-02-14 09:26:40 -05:00
test_router.c test_router: Add comment to explain mocking 2019-02-19 21:43:12 +10:00
test_routerkeys.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_routerlist.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_routerset.c Make nodelist_get_list() return a const pointer. 2019-04-26 10:36:49 -04:00
test_rust.sh Let's not double-quote EXTRA_CARGO_OPTIONS after all 2019-02-13 15:04:12 +02:00
test_scheduler.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_sendme.c sendme: Better function names 2019-04-29 12:17:57 -04:00
test_shared_random.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_slow.c Check that all valid values of int and unsigned int can be put into void pointer 2019-02-25 20:04:02 +02:00
test_socks.c Merge branch 'maint-0.3.5' 2019-02-08 08:19:34 -05:00
test_status.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_storagedir.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_switch_id.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_switch_id.sh Fix shellcheck SC2006 warnings in test_switch_id.sh 2019-02-24 17:02:06 -05:00
test_threads.c Merge remote-tracking branch 'nickm/bug27073_029' into bug27073_034 2019-03-14 06:47:32 +10:00
test_tortls.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_tortls.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_tortls_openssl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_util.c Merge branch 'tor-github/pr/994' 2019-05-07 08:02:39 -04:00
test_util_format.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_util_process.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_voting_flags.c Move voteflags.[ch] to become dirauth only. 2019-05-02 09:22:13 -04:00
test_voting_schedule.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_workqueue.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_workqueue_cancel.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_efd.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_efd2.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_pipe.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_pipe2.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_socketpair.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_x509.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_zero_length_keys.sh Start splitting src/or 2018-07-05 17:15:50 -04:00
testing_common.c Split all controller events code into a new control_events.c 2019-03-25 12:11:59 -04:00
testing_rsakeys.c Use tor_assertf{_nonfatal} in code 2019-03-29 14:25:59 -04:00
vote_descriptors.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
zero_length_keys.sh Fix shellcheck warning in zero_length_keys.sh 2019-02-07 17:23:23 +02:00