tor/src/test
teor 19a4abf2a9 Make sure bridges are definitely running before delaying directory fetches
Retry directory downloads when we get our first bridge descriptor
during bootstrap or while reconnecting to the network. Keep retrying
every time we get a bridge descriptor, until we have a reachable bridge.

Stop delaying bridge descriptor fetches when we have cached bridge
descriptors. Instead, only delay bridge descriptor fetches when we
have at least one reachable bridge.

Fixes bug 24367; bugfix on 0.2.0.3-alpha.
2017-12-12 19:17:25 -05:00
..
fuzz Fix mock_crypto_pk_public_checksig__nocheck() to handle short RSA keys 2017-11-11 14:44:45 -05:00
bench.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
fuzz_static_testcases.sh Run the copyright update script. 2017-03-15 16:13:17 -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 Test that IPv6-only clients can use microdescriptors 2017-11-02 10:25:49 -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 Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
ntor_ref.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
rend_test_helpers.c test: Move some test code to test helpers. 2017-07-07 11:12:26 -04: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 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_accounting.c Added AccountRule in and AccountingRule out options 2016-01-08 15:52:10 -08:00
test_addr.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -04:00
test_address.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -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 Move ext_or_command tests to test_proto_misc.c 2017-09-27 09:11:15 -04:00
test_cell_formats.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_cell_queue.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_channel.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_channelpadding.c hs-v3: Attempt descriptor refetch when dirinfo changes 2017-10-31 12:14:11 -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 prop224: Register RP circuit when it opens 2017-08-24 13:03:29 -04:00
test_circuitmux.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_circuituse.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_compat_libevent.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_config.c Fix memory leak in unit test for bridge distribution config. 2017-11-18 10:22:14 -05:00
test_connection.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_connection.h test: Move some test code to test helpers. 2017-07-07 11:12:26 -04:00
test_conscache.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_consdiff.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -04:00
test_consdiffmgr.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_containers.c Make the fp_pair_map tests cover {get,set}_by_digests 2017-10-03 08:07:36 -04:00
test_controller_events.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_controller.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_crypto_openssl.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_crypto_slow.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_crypto.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -04:00
test_data.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_descriptors.inc Move test_descriptors.txt to an include file 2014-07-16 22:37:00 +02:00
test_dir_common.c apply ahf's test_assert_zero.cocci 2017-08-24 15:34:34 -04:00
test_dir_common.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_handle_get.c Replace accumulated C ;;s with ;s 2017-09-15 16:43:17 -04:00
test_dir.c Make sure bridges are definitely running before delaying directory fetches 2017-12-12 19:17:25 -05:00
test_dns.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_entryconn.c hs-v3: Attempt descriptor refetch when dirinfo changes 2017-10-31 12:14:11 -04:00
test_entrynodes.c Add an extra check in test_entrynodes 2017-11-18 10:26:45 -05:00
test_extorport.c Refactor control_event_bootstrap_problem 2017-09-14 08:25:27 -05:00
test_guardfraction.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_handles.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_helpers.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -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 prop224 test: Test client desc expiration in tests. 2017-09-13 14:54:49 -04:00
test_hs_cell.c prop224 tests: test_gen_establish_intro_cell() check cell contents. 2017-08-08 20:29:34 -04:00
test_hs_client.c test: Add an HS v3 descriptor fetch unit test 2017-10-03 10:56:46 -04:00
test_hs_common.c test: Fix voting schedule for hs_common.c 2017-10-31 14:49:19 -04:00
test_hs_config.c Merge branch 'ticket20657_nickm_bugfixes_squashed' 2017-08-08 20:31:57 -04:00
test_hs_descriptor.c clang scan-build: Fix "dead increment" warnings. 2017-09-12 19:03:04 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c Replace accumulated C ;;s with ;s 2017-09-15 16:43:17 -04: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 test: Fix voting schedule for hs_service.c 2017-10-31 14:49:31 -04:00
test_hs.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -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 Fix windows test_keygen.sh. This time I think I have it! 2015-09-03 15:23:10 -04:00
test_keypin.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_link_handshake.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_logging.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_microdesc.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_nodelist.c test: Fix memleaks 2017-09-11 14:39:24 -04: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 Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
test_oos.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_options.c ClientDNSRejectInternalAddresses in non-default networks 2017-11-04 18:31:02 +01:00
test_policy.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -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 apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04: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 Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_relaycell.c Revert "Make ClientDNSRejectInternalAddresses testing-only." 2017-11-04 18:30:59 +01:00
test_rendcache.c Clear up dead-assignment warnings from scan-build 2017-09-12 21:32:34 -04:00
test_replay.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_router.c Updates to fix check-spaces/check-changes warnings 2017-10-24 19:35:16 -04:00
test_routerkeys.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_routerlist.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_routerset.c Refactor node lookup APIs to take flags 2017-08-22 19:13:40 -04:00
test_rust.c Add some Rust utility functions and print support 2017-05-19 08:47:10 -04:00
test_rust.sh use CARGO_HOME instead of HOME when building with rust 2017-07-13 18:12:35 +00:00
test_scheduler.c sched: Make KISTSchedRunInterval non negative 2017-09-25 11:11:30 -04:00
test_shared_random.c test: Fix voting schedule for shared random 2017-10-31 14:48:50 -04:00
test_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_socks.c Follow-up on 23678: fix socks/wrong_protocol test 2017-10-03 08:17:41 -04:00
test_status.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_storagedir.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04: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 Replace accumulated C ;;s with ;s 2017-09-15 16:43:17 -04:00
test_util_format.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04: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 'catalyst-oniongit/bug23691' 2017-09-28 19:07:23 -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 Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -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 Merge branch 'bug23291_028' into maint-0.3.1 2017-08-21 15:06:39 -04: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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test.c Merge branch 'feature18329_029_squashed' into maint-0.3.2 2017-10-24 19:35:28 -04:00
test.h Let's get 100% coverage for proto_http while we're at it. 2017-09-27 21:45:55 -04:00
testing_common.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
testing_rsakeys.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -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