tor/src/test
David Goulet 734dbfa590 sched: Make the scheduler object static
Each type of scheduler implements its own static scheduler_t object and
returns a reference to it.

This commit also makes it a const pointer that is it can only change inside
the scheduler type subsystem but not outside for extra protection.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-15 11:40:59 -04:00
..
fuzz Resolve inconsistencies between buf refactor and HTTP connect 2017-09-05 14:41:35 -04:00
bench.c Use atomic counters for compressor allocation. 2017-04-25 10:29:07 -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: Service address creation/validation 2017-07-13 16:49:44 -04:00
hs_ntor_ref.py Make the hs_ntor_ref logic more correct when there is no sha3 module 2017-08-02 12:44:46 -04:00
hs_test_helpers.c test: Fix prop224 HS descriptor to use subcredential 2017-08-08 20:29:34 -04:00
hs_test_helpers.h test: Fix prop224 HS descriptor to use subcredential 2017-08-08 20:29:34 -04:00
include.am Add test_hs_descriptor.inc to include.am to unbreak distcheck. 2017-08-23 13:08:59 -04:00
log_test_helpers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
log_test_helpers.h Run the copyright update script. 2017-03-15 16:13:17 -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 test: Move some test code to test helpers. 2017-07-07 11:12:26 -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 Added AccountRule in and AccountingRule out options 2016-01-08 15:52:10 -08:00
test_addr.c apply ahf's test_assert_int.cocci 2017-08-24 15:49:59 -04:00
test_address.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_bt_cl.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_buffers.c Make preferred_chunk_size nonstatic, and add a prefix to it 2017-09-05 14:17:18 -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 Demote a log message due to libevent delays. 2017-06-26 11:26:59 -04:00
test_channeltls.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_checkdir.c Run the copyright update script. 2017-03-15 16:13:17 -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 apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04: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 Make consdiff tests pass on OS X too 2017-07-10 15:27:01 -04:00
test_consdiffmgr.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_containers.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -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 Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_crypto_slow.c apply ahf's test_assert_int.cocci 2017-08-24 15:49:59 -04:00
test_crypto.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_data.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_descriptors.inc
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 Move protocol-specific functions out of buffers.c 2017-09-05 13:57:51 -04:00
test_dir.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_dns.c Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_entryconn.c test: Add tests for fetching descs and handling SOCKS conns. 2017-08-24 13:03:28 -04:00
test_entrynodes.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_extorport.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04: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 test: Add HS v2 service configuration unit tests 2017-07-13 16:49:08 -04:00
test_hs_cache.c Move protocol-specific functions out of buffers.c 2017-09-05 13:57:51 -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 apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_hs_common.c prop224: Clear list of prev hsdirs before we upload all descs. 2017-08-30 15:42:25 +03:00
test_hs_config.c Merge branch 'ticket20657_nickm_bugfixes_squashed' 2017-08-08 20:31:57 -04:00
test_hs_descriptor.c test: Fix memory leak in hs_descriptor/decode_bad_signature 2017-08-24 16:21:44 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c In test_establish_intro_wrong_purpose, use tt_i64_op on ssize_t 2017-08-28 10:11:49 -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 prop224: Refactor descriptor reupload logic. 2017-08-25 14:41:06 +03: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 routerkeys: Add cmdline option for learning signing key expiration. 2017-08-03 22:20:02 +00: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 Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
test_nodelist.c Run the copyright update script. 2017-03-15 16:13:17 -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 sched: Remove vanilla sched options that will be going away 2017-09-15 11:40:59 -04: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_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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_rendcache.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_replay.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_routerkeys.c Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test_routerlist.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_routerset.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01: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 the scheduler object static 2017-09-15 11:40:59 -04:00
test_shared_random.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_socks.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -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 mingw fix: avoid "unused var" warning. 2017-07-07 10:54:24 -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 apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -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 the copyright update script. 2017-03-15 16:13:17 -04:00
test_util_slow.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -04:00
test_util.c apply ahf's test_assert_null.cocci 2017-08-24 15:55:27 -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 Add support for multi-priority workqueues 2017-07-27 16:28:05 -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 the copyright update script. 2017-03-15 16:13:17 -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 Ensure that make check-spaces is happy. 2017-08-24 16:09:41 -04:00
test.h Fix operator usage in src/test/*.c 2017-08-24 15:24:34 -04:00
testing_common.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
testing_rsakeys.c Run the copyright update script. 2017-03-15 16:13:17 -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