tor/src/test
Nick Mathewson ce692332b8 test_entrynodes: fix a GCC warning
Some versions of GCC complain that the bfn_mock_node_get_by_id
function might return NULL, but we're assuming that it won't.
(We're assuming it won't return NULL because we know in the tests
that we're passing it valid IDs.)

To make GCC happy, tt_assert() that each node_t is set before using
it.

Fixes a second case of bug26269; bugfix on 0.3.0.1-alpha.
2018-06-13 10:45:15 -04:00
..
fuzz Remove hardwired libfuzzer path; closes 22105. 2017-06-19 15:35:46 -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 Run the copyright update script. 2017-03-15 16:13:17 -04: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 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_ntor_ref.py Make hs_ntor_ref.py work with python3 2017-09-18 10:48:28 -04:00
hs_test_helpers.c prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
hs_test_helpers.h test: Move duplicate HS test code and unify it 2017-05-09 10:30:37 -04:00
include.am Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05: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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
rend_test_helpers.h Run the copyright update script. 2017-03-15 16:13:17 -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 'maint-0.3.0' into maint-0.3.1 2017-07-05 13:43:31 -04:00
test_address_set.c test: Add unit tests for addressset.c 2018-02-08 16:56:05 -05:00
test_address.c Run the copyright update script. 2017-03-15 16:13:17 -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 Merge branch 'compress_none_v2_squashed' 2017-05-02 08:33:35 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_channelpadding.c Bug 23608: Mock time for all channelpadding tests. 2017-09-21 10:36:57 -04:00
test_channeltls.c Run the copyright update script. 2017-03-15 16:13:17 -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 tests: Remove useless NULL check before circuit_free(). 2017-04-17 16:36:55 +03:00
test_circuitmux.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-21 10:50:06 -05:00
test_circuituse.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_compat_libevent.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_config.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-10-23 09:11:10 -04:00
test_connection.c Fix a comment that held the remaining reference to the old api. 2017-04-21 16:39:05 -04:00
test_conscache.c New force-delete option on consensus_cache_delete_pending() 2017-04-27 21:40:13 -04:00
test_consdiff.c Make consdiff tests pass on OS X too 2017-07-10 15:27:01 -04:00
test_consdiffmgr.c Queue consensus diffs at LOW priority. 2017-07-27 16:28:59 -04:00
test_containers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_controller_events.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_controller.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_crypto_openssl.c Remove openssl/evp.h dependency from test_crypto.c 2017-03-31 10:04:44 -04:00
test_crypto_slow.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-07-14 09:11:14 -04:00
test_crypto.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-05-24 09:40:06 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_common.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_handle_get.c Test fix: always set address in new_dir_conn() 2017-05-15 18:00:38 -04:00
test_dir.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-05-10 09:19:28 -04:00
test_dns.c DefecTor countermeasure: change server- and client-side DNS TTL clipping 2017-01-18 08:55:57 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_entrynodes.c test_entrynodes: fix a GCC warning 2018-06-13 10:45:15 -04:00
test_extorport.c Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_guardfraction.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_handles.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_helpers.c Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_helpers.h Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_hs_cache.c test: Move duplicate HS test code and unify it 2017-05-09 10:30:37 -04:00
test_hs_descriptor.c test: Fix memory leak in hs_descriptor/decode_bad_signature 2017-09-05 09:26:21 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c Untangle cleanup logic in test_hs_intropoint.c 2017-05-11 13:06:45 -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.sh prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_service.c Fix implicit conversion warnings in the period_num tests 2017-04-24 15:38:16 -04:00
test_hs.c Fix an unreachable memory leak in the unit tests 2017-07-28 09:52:34 -04:00
test_introduce.c Run the copyright update script. 2017-03-15 16:13:17 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_link_handshake.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-07-14 09:06:44 -04:00
test_logging.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_microdesc.c Remove some now-needless openssl includes from src/test. 2017-03-31 10:04:44 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_oos.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_options.c Test config line parsing errors 2017-05-10 16:51:40 -04:00
test_policy.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_procmon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_protover.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-03-01 16:07:59 -05:00
test_pt.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_pubsub.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_relay.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_relaycell.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_rendcache.c Remove some now-needless openssl includes from src/test. 2017-03-31 10:04:44 -04:00
test_replay.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_routerkeys.c Merge branch 'maint-0.3.0' 2017-06-05 15:52:06 -04:00
test_routerlist.c Run the copyright update script. 2017-03-15 16:13:17 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_shared_random.c Bugfix: Regenerate more certificates when appropriate 2017-05-31 18:45:35 -04:00
test_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_socks.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_status.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_storagedir.c Unit tests for labelled storagedir entries 2017-04-06 11:48:41 -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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_tortls.c Mark many private tortls.h APIs as openssl-only. 2017-03-31 10:04:45 -04:00
test_util_format.c Fix some no-longer-reasonable unit tests for base64_decode() 2017-04-10 12:08:31 -04:00
test_util_process.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_util_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_util.c Merge branch 'maint-0.2.9' into maint-0.3.0 2017-09-12 17:09:47 -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 '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 Run the copyright update script. 2017-03-15 16:13:17 -04:00
test.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
test.h Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05: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