tor/src/test
David Goulet f7633c1fca hs: Rescan the main loop event list if the service map changes
Because ADD_ONION/DEL_ONION can modify the global service map (both for v2 and
v3), we need to rescan the event list so we either enable or disable the HS
service main loop event.

Fixees #25939

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-04-27 11:16:57 -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 'public/split_relay_crypto' 2018-04-05 12:12: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 test: Add missing geoip_dummy file to EXTRA_DIST 2018-04-26 14:15:24 -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 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-child.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test-memwipe.c Merge branch 'maint-0.2.9' into maint-0.3.0 2017-11-13 12:57:58 -05: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 Wrap the function we use to run the event loop. 2018-04-05 12:36:27 -04:00
test.c test: Add periodic events unit tests 2018-04-23 10:57:28 -04:00
test.h test: Add periodic events unit tests 2018-04-23 10:57:28 -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.c Revert 4438ef32's changes to test_address.c 2018-02-21 09:36:37 -05:00
test_address_set.c test: Add unit tests for addressset.c 2018-02-08 16:56:05 -05:00
test_bridges.c Fix a pointer size error in test_bridges.c 2018-04-17 19:45:59 -04:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_bt_cl.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_buffers.c Add a new notion of "stamps" to be a fast 32-bit monotonic timestamp 2017-11-27 09:43:15 -05:00
test_bwmgt.c token: Fix uint32_t to uint64_t conversion 2018-04-16 15:05:41 -04:00
test_cell_formats.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05: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 cmux: Remove round-robin circuit policy 2018-02-15 14:36:39 -05: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 cmux: Remove round-robin circuit policy 2018-02-15 14:36:39 -05: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 Merge branch 'maint-0.3.3' 2018-04-12 12:31:41 -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 Implement the various get_foodir_*() functions. 2017-12-05 19:49:29 -05: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.c Add GETINFO current-time/{local,utc} regression test 2018-04-16 20:37:50 -04:00
test_controller_events.c Remove TestingEnableTbEmptyEvent 2018-04-10 12:16:21 -04:00
test_crypto.c Merge branch 'scan-build-032' 2017-09-15 16:40:11 -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_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.c Remove MIN_METHOD_FOR_{SHARED_RANDOM,EXCLUDING_INVALID_NODES} 2018-04-22 20:00:47 -04: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 Remove a bunch of other redundant #includes 2018-02-20 10:14:15 -05:00
test_dns.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
test_dos.c test: DoS test to make sure we exclude known relays 2018-02-09 11:31:01 -05:00
test_entryconn.c Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05:00
test_entrynodes.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
test_extorport.c Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05: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 Remove event2/event.h include from compat_libevent.h 2018-04-02 11:11:31 -04:00
test_helpers.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
test_hs.c Repair the legacy_hs/pick_tor2web_rendezvous_node unit test 2018-04-22 19:43:07 -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 prop224 tests: test_gen_establish_intro_cell() check cell contents. 2017-08-08 20:29:34 -04:00
test_hs_client.c Extract the cryptographic parts of crypt_path_t and or_circuit_t. 2018-03-17 10:59:15 -04:00
test_hs_common.c Rename node_has_descriptor() to node_has_any_descriptor() 2018-04-22 19:43:07 -04:00
test_hs_config.c Merge branch 'ticket20657_nickm_bugfixes_squashed' 2017-08-08 20:31:57 -04:00
test_hs_control.c test: Add HS_DESC v3 unit tests 2017-12-05 19:39:46 -05:00
test_hs_descriptor.c Merge branch 'bug24658-rm-curve25519-header' into bug24658-merge 2018-03-26 20:12:59 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c Remove a bunch of other redundant #includes 2018-02-20 10:14:15 -05: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_ntor_cl.c prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_service.c Merge remote-tracking branch 'public/split_relay_crypto' 2018-04-05 12:12:18 -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 Remove MIN_METHOD_FOR_{PACKAGE_LINES,GUARDFRACTION,ED25519_ID_IN_MD} 2018-04-22 20:00:47 -04:00
test_nodelist.c test: Fix memleaks 2017-09-11 14:39:24 -04:00
test_ntor.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test_ntor_cl.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_oom.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
test_oos.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_options.c Merge branch 'token_bucket_refactor_squashed' 2018-04-13 10:47:24 -04:00
test_periodic_event.c hs: Rescan the main loop event list if the service map changes 2018-04-27 11:16:57 -04:00
test_policy.c Convert the rest of src/common's headers to use FREE_AND_NULL 2017-12-08 14:47:19 -05: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 Basic unit tests for relay_crypto.c 2018-03-24 13:49:08 -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 Rename connection_free_ to connection_free_minimal. 2017-12-08 14:47:19 -05: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 Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05: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 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.c Helper function to add u32 without overflow. 2018-04-16 21:46:31 +00: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_workqueue.c Move responsibility for threadpool reply-handler events to workqueue 2018-04-05 12:36:28 -04: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 Fix a test assertion failure due to uninitialized mainloop events 2018-04-26 14:39:26 -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