tor/src/test
Nick Mathewson dbbaa51518 Use the new guard notification/selection APIs throughout Tor
This patch doesn't cover every case; omitted cases are marked with
"XXXX prop271", as usual.  It leaves both the old interface and the
new interface for guard status notification, since they don't
actually work in the same way: the new API wants to be told when a
circuit has failed or succeeded, whereas the old API wants to know
when a channel has failed or succeeded.

I ran into some trouble with directory guard stuff, since when we
pick the directory guard, we don't actually have a circuit to
associate it with.  I solved that by allowing guard states to be
associated with directory connections, not just circuits.
2016-11-30 14:42:53 -05:00
..
bench.c Simplify the crypto_cipher_t interface and structure 2016-09-16 10:12:30 -04:00
bt_test.py Treat bt_test.py failures as "SKIP" on freebsd. 2016-02-01 14:11:45 -05:00
ed25519_exts_ref.py Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
ed25519_vectors.inc Add comments to ed25519_vectors.inc 2014-09-25 15:08:32 -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 Update the copyright year. 2016-02-27 18:48:19 +01:00
include.am Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
log_test_helpers.c Placate "make check-spaces" 2016-09-08 15:43:56 -04:00
log_test_helpers.h fixup! Add expect_log_msg_containing_either3() and expect_log_msg_containing_either4() 2016-11-16 13:14:00 +11:00
Makefile.nmake Prop210: Refactor connection_get_* to produce lists and counts 2015-12-16 04:02:12 +11:00
ntor_ref.py Use the kdf_rfc5869() function instead of kdf(). 2016-02-28 15:24:59 +01:00
rend_test_helpers.c Update the copyright year. 2016-02-27 18:48:19 +01:00
rend_test_helpers.h Update the copyright year. 2016-02-27 18:48:19 +01:00
slow_ed25519.py Add a reference implementation of our ed25519 modifications 2014-09-25 15:08:32 -04:00
slownacl_curve25519.py Make the python test scripts work on python3 2014-04-27 22:54:24 -04:00
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-child.c Fix a large pile of solaris warnings for bug 19767. 2016-07-28 10:47:46 -04:00
test-memwipe.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test-network.sh We fixed #15937, update a comment 2016-07-26 19:20:53 -04:00
test-timers.c convert timers.c to use real monotonic time. 2016-07-19 11:40:46 +02:00
test.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
test.h Merge branch 'maint-0.2.9' 2016-11-07 16:31:40 -05:00
test_accounting.c Added AccountRule in and AccountingRule out options 2016-01-08 15:52:10 -08:00
test_addr.c Fix a bug in displaying IPv6 addrs in test_op_ipv6_ with --verbose 2016-10-11 20:09:24 -04:00
test_address.c fixup! Add expect_log_msg_containing_either3() and expect_log_msg_containing_either4() 2016-11-16 13:14:00 +11:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_bt_cl.c Use autoconf, not gcc version, to decide which warnings we have 2016-06-11 10:11:53 -04:00
test_buffers.c Make preferred_chunk_size avoid overflow, handle big inputs better 2016-09-13 09:07:12 -04:00
test_cell_formats.c Fix all -Wshadow warnings on Linux 2016-07-28 06:58:44 -04:00
test_cell_queue.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_channel.c Fix BUG message in channel/queue_impossible 2016-11-03 18:34:44 -04:00
test_channeltls.c Merge branch 'feature_15055_v2' 2016-11-03 08:44:46 -04:00
test_checkdir.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_circuitlist.c Fix a coupole of coverity complaints. 2016-09-09 15:29:57 -04:00
test_circuitmux.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_compat_libevent.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_config.c Split bridge functions into a new module. 2016-11-30 14:42:52 -05:00
test_connection.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
test_containers.c Add a smartlist_remove_keeporder() function, with tests. 2016-11-30 14:42:52 -05:00
test_controller.c Split bridge functions into a new module. 2016-11-30 14:42:52 -05:00
test_controller_events.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_crypto.c Add support for AES256 and AES192 2016-09-16 11:21:33 -04:00
test_crypto_slow.c Disable a single pbkdf2 test vector 2016-09-09 09:57:15 -04:00
test_data.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_descriptors.inc Move test_descriptors.txt to an include file 2014-07-16 22:37:00 +02:00
test_dir.c Use the new guard notification/selection APIs throughout Tor 2016-11-30 14:42:53 -05:00
test_dir_common.c Fix unit test failure introduced by #20002 2016-09-07 13:40:38 -04:00
test_dir_common.h Update the copyright year. 2016-02-27 18:48:19 +01:00
test_dir_handle_get.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
test_dns.c Fix all -Wshadow warnings on Linux 2016-07-28 06:58:44 -04:00
test_entryconn.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
test_entrynodes.c Add an (as yet) unused UseDeprecatedGuardAlgorithm_ option. 2016-11-30 14:42:53 -05:00
test_extorport.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_guardfraction.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_handles.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
test_helpers.c test: Add prop224 directory fetch/upload unit tests 2016-11-04 10:32:50 -04:00
test_helpers.h test: Add prop224 directory fetch/upload unit tests 2016-11-04 10:32:50 -04:00
test_hs.c Merge branch 'maint-0.2.9' 2016-11-07 16:31:40 -05:00
test_hs_cache.c Would you believe me if I said there were more 32-bit and clang warnings? 2016-11-04 15:47:28 -04:00
test_hs_descriptor.c Merge remote-tracking branch 'dgoulet/bug20570_030_01' 2016-11-10 09:28:31 -05:00
test_introduce.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_keygen.sh Fix windows test_keygen.sh. This time I think I have it! 2015-09-03 15:23:10 -04:00
test_keypin.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_link_handshake.c Fix two warnings in test_link_handshake.c 2016-11-03 11:16:06 -04:00
test_logging.c Tests for message rate-limiting 2016-06-16 11:54:50 -04:00
test_microdesc.c Fix all -Wshadow warnings on Linux 2016-07-28 06:58:44 -04:00
test_nodelist.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_ntor.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test_ntor_cl.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
test_oom.c Merge remote-tracking branch 'public/Fix_19450' 2016-08-12 16:11:28 -04:00
test_oos.c Avoid asserts in oos/kill_conn_list unit test 2016-08-26 00:02:00 +00:00
test_options.c Attempt to fix unit tests on netbsd 2016-11-01 13:32:21 -04:00
test_policy.c Merge branch 'maint-0.2.9' 2016-11-08 18:51:19 -05:00
test_procmon.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_protover.c Rename compute_protover_vote to protover_compute_vote 2016-09-26 10:56:53 -07:00
test_pt.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
test_pubsub.c Basic work on a publish/subscribe abstraction 2016-05-11 13:25:11 -04:00
test_relay.c Fix a coupole of coverity complaints. 2016-09-09 15:29:57 -04:00
test_relaycell.c Add clang's -Wstring-conversion, and fix the one place it hits 2016-06-11 10:11:54 -04:00
test_rendcache.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
test_replay.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_routerkeys.c whitespace fixes 2016-11-03 08:55:54 -04:00
test_routerlist.c Compilation fix. (function pointer implicit cast in tests.) 2016-10-19 17:15:42 -04:00
test_routerset.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_scheduler.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_shared_random.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_slow.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_socks.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_status.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_switch_id.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_switch_id.sh Coverage hack for test_switch_id.sh 2016-06-20 11:15:47 -04:00
test_threads.c Make a couple more tests run faster. 2016-09-09 10:08:27 -04:00
test_tortls.c Merge branch 'maint-0.2.9' 2016-11-06 20:24:29 -05:00
test_util.c Teach parse_iso_time about the spaceless variant. 2016-11-30 14:42:52 -05:00
test_util_format.c Use tor_htonll in test_util_format_unaligned_accessors 2016-11-03 21:18:02 +00:00
test_util_process.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_util_slow.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_workqueue.c Raise libevent dependency to 2.0.10-stable or newer 2016-07-04 12:40:09 +02:00
test_workqueue_cancel.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_efd2.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_pipe2.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_zero_length_keys.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
testing_common.c Merge branch 'maint-0.2.9' 2016-11-07 16:31:40 -05:00
testing_rsakeys.c whitespace fixes 2016-11-03 08:55:54 -04: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