tor/src/test
teor e6b5a1ff93
shellcheck: Fix minor issues in some scripts
Fix minor issues in git-push-all.sh, git-setup-dirs.sh and
test_parseconf.sh.

Fixes bug 32402; not in any released version of tor.
Obviously correct changes to already reviewed code.
2019-11-06 16:21:01 +10:00
..
conf_examples test/parseconf: Add conf_examples for relays 2019-11-05 11:12:59 +10:00
fuzz Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
bench.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
bt_test.py Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ed25519_exts_ref.py Bump copyright date to 2019 2019-01-16 12:33:22 -05: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
fakechans.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
fakecircs.c test: Handle NULL circuit pointer in new_fake_orcirc 2019-11-05 08:05:22 -05:00
fakecircs.h test: Add fakecircs.{h|c} helper 2019-10-28 13:17:11 -04:00
fuzz_static_testcases.sh Fix shellcheck warning in fuzz_static_testcases.sh 2019-02-06 11:01:22 +02: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 Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
hs_test_helpers.c Run test_operator_cleanup on our unit tests 2019-09-11 18:47:19 -04:00
hs_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
include.am Merge remote-tracking branch 'tor-github/pr/1477' 2019-11-05 14:23:10 +10:00
log_test_helpers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
log_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
Makefile.nmake Circuit padding tests. 2019-01-02 15:25:55 +02:00
ntor_ref.py Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ope_ref.py Stop assuming that /usr/bin/python3 exists 2019-03-27 11:07:55 +10:00
prob_distr_mpfr_ref.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
ptr_helpers.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
ptr_helpers.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
rend_test_helpers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
rend_test_helpers.h Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
resolve_test_helpers.c Add a mock replacement for blocking hostname resolution 2019-10-04 08:03:19 -04:00
resolve_test_helpers.h Add a mock replacement for blocking hostname resolution 2019-10-04 08:03:19 -04:00
rng_test_helpers.c Merge branch 'tor-github/pr/1032' 2019-05-29 21:28:04 +03:00
rng_test_helpers.h Make testing_disable_reproducible_rng() log seed on test failure 2019-05-15 07:50:56 -04:00
rust_supp.txt Add a leak suppression for backtrace_alloc 2018-06-20 18:02:49 -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 Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_addr.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_address_set.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_address.c test: test dirserv_router_has_valid_address() with DirAllowPrivateAddresses 2019-09-19 16:19:19 +10:00
test_bridges.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_bt_cl.c Use tor_assertf{_nonfatal} in code 2019-03-29 14:25:59 -04:00
test_bt.sh Use setrlimit instead of ulimit -c in backtrace tests 2019-02-20 12:06:26 -05:00
test_btrack.c Update #includes to point to confparse.h in its new location. 2019-09-11 10:17:20 -04:00
test_buffers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_bwmgt.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_cell_formats.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_cell_queue.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_channel.c test_channel_listener: free 'chan' explicitly 2019-05-16 15:35:21 -04:00
test_channelpadding.c Make evloop into a subsystem. 2019-06-14 13:28:10 +03:00
test_channeltls.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_checkdir.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_circuitbuild.c Merge branch 'maint-0.3.5' into maint-0.4.0 2019-08-30 23:33:01 +10:00
test_circuitlist.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_circuitmux_ewma.c ewma: Implement unit tests 2019-10-28 13:17:11 -04:00
test_circuitmux.c test: Implement unit tests for circuitmux.c 2019-10-28 13:17:11 -04:00
test_circuitpadding.c test: Add fakecircs.{h|c} helper 2019-10-28 13:17:11 -04:00
test_circuitstats.c Rework origin circuit tracking to use pubsub 2019-06-11 11:59:30 -04:00
test_circuituse.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_cmdline.sh test/scripts: Use the same code to find the tor binary 2019-11-05 11:07:31 +10:00
test_compat_libevent.c Make evloop into a subsystem. 2019-06-14 13:28:10 +03:00
test_config.c config: Rename new global functions with a prefix 2019-11-05 11:28:57 +10:00
test_confmgr.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_confparse.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_connection.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_connection.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_conscache.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_consdiff.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_consdiffmgr.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_containers.c Document check for 30176, since it's a bit subtle. 2019-04-15 14:52:08 -04:00
test_controller_events.c Fix a few coverity unitinitialzed-value warnings in the unit tests. 2019-06-28 12:33:27 -04:00
test_controller.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_crypto_ope.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_crypto_openssl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_crypto_rng.c Add a quick test for get_thread_fast_rng() 2019-02-19 15:36:11 -05:00
test_crypto_slow.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_crypto.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_data.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_descriptors.inc
test_dir_common.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_dir_common.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_dir_handle_get.c config: Rename new global functions with a prefix 2019-11-05 11:28:57 +10:00
test_dir.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_dispatch.c Add a test for max_u16_in_sl(). 2019-10-01 13:01:20 -04:00
test_dns.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_dos.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_entryconn.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_entrynodes.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_extorport.c Rework orconn tracking to use pubsub 2019-06-11 11:59:30 -04:00
test_geoip.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_guardfraction.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_handles.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_helpers.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_helpers.h Rework orconn tracking to use pubsub 2019-06-11 11:59:30 -04:00
test_hs_cache.c hs-v3: Disallow single hop client to post/get a descriptor 2019-07-03 08:21:16 -04:00
test_hs_cell.c test: Build DoS cell extension 2019-08-26 15:53:46 +03:00
test_hs_client.c Remove the unused circuit_type field from hs_ident_circuit_t and hs_ident_circuit_new() 2019-08-23 14:04:05 -04:00
test_hs_common.c Coverity: fix test issues with always-present 'service' var. 2019-06-28 12:36:44 -04:00
test_hs_config.c Use {mock,unmock}_hostname_resolver() in relevant tests 2019-10-04 08:03:19 -04:00
test_hs_control.c crypto_format: Remove the return values from digest256_to_base64() 2019-04-05 15:17:19 +10:00
test_hs_descriptor.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_dos.c hs-v3: Rename validation function in hs_intropoint.c 2019-09-09 11:07:51 -04:00
test_hs_intropoint.c test: Handling of ESTABLISH_INTRO DoS extension 2019-08-26 15:53:46 +03:00
test_hs_ntor_cl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs_ntor.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_hs_ntor.sh test: Fix a comment typo in src/test/test_hs_ntor.sh 2019-10-31 00:43:13 +10:00
test_hs_service.c hs-v3: Remove the circuit_established intro flag 2019-10-23 11:51:23 -04:00
test_hs.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_introduce.c Coverity: fix memory leak on error in test function. 2019-06-28 12:36:53 -04:00
test_key_expiration.sh test/scripts: Use the same code to find the tor binary 2019-11-05 11:07:31 +10:00
test_keygen.sh test/scripts: Use the same code to find the tor binary 2019-11-05 11:07:31 +10:00
test_keypin.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_link_handshake.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_logging.c test: Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes 2019-09-25 16:40:09 +10:00
test_mainloop.c Implement an DormantCanceledByStartup option 2019-04-04 11:48:36 -04:00
test_microdesc.c Add a unit test for ed25519 identity parsing in microdescriptors 2019-09-10 09:10:49 -04:00
test_namemap.c Unit test for namemap_fmt_name() 2019-03-25 16:35:34 -04:00
test_netinfo.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_nodelist.c test/nodelist: Add unit tests for describe.c 2019-08-23 00:02:33 +10:00
test_ntor_cl.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_ntor.sh
test_oom.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_oos.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_options.c config: Run "make autostyle" 2019-11-05 12:01:29 +10:00
test_parsecommon.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_parseconf.sh shellcheck: Fix minor issues in some scripts 2019-11-06 16:21:01 +10:00
test_pem.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_periodic_event.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_policy.c Add firewall_choose_address_ls() and hs_get_extend_info_from_lspecs() tests 2019-04-24 17:28:38 +10:00
test_prob_distr.c Use new RNG and tinytest code to simplify prob_distr tests 2019-05-15 07:50:56 -04:00
test_process_descs.c Unit tests for dirserv_reject_tor_version(). 2019-10-03 19:12:52 +03:00
test_process_slow.c Add test to check if the exit callback is called in process_t upon process_exec() failures. 2019-10-17 20:52:32 +02:00
test_process.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_procmon.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_proto_http.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_proto_misc.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_protover.c Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
test_pt.c Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. 2019-10-26 10:09:03 -04:00
test_ptr_slow.c Move sizeof check to torint.h 2019-03-25 10:17:30 +02:00
test_pubsub_build.c Multiple subscribers or publishers per subsystem 2019-05-22 16:33:19 -05:00
test_pubsub_msg.c Rename DISPATCH_DEFINE_TYPE() to DISPATCH_REGISTER_TYPE() 2019-03-25 16:35:34 -04:00
test_rebind.py Merge remote-tracking branch 'tor-github/pr/1354' into maint-0.4.2 2019-10-21 09:44:42 +10:00
test_rebind.sh test/scripts: Use the same code to find the tor binary 2019-11-05 11:07:31 +10:00
test_relay.c test: Add fakecircs.{h|c} helper 2019-10-28 13:17:11 -04:00
test_relaycell.c sendme: Always pop last SENDME digest from circuit 2019-05-22 11:47:20 -04:00
test_relaycrypt.c Hiding crypt_path_t: Change code to use the privatization macro. 2019-05-03 18:15:26 +03:00
test_rendcache.c test: Fix a warning underflow in rend_cache/clean 2019-02-12 09:15:41 -05:00
test_replay.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_rng.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_router.c Run test_operator_cleanup on our unit tests 2019-09-11 18:47:19 -04:00
test_routerkeys.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_routerlist.c test: Use a 64-bit comparison for logging domains. 2019-07-25 16:57:06 -04:00
test_routerset.c Make nodelist_get_list() return a const pointer. 2019-04-26 10:36:49 -04:00
test_rust.sh Let's not double-quote EXTRA_CARGO_OPTIONS after all 2019-02-13 15:04:12 +02:00
test_scheduler.c Run test_operator_cleanup on our unit tests 2019-09-11 18:47:19 -04:00
test_sendme.c Tests for deciding how full our relay cells should be 2019-05-27 14:20:36 +03:00
test_shared_random.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_slow.c Check that all valid values of int and unsigned int can be put into void pointer 2019-02-25 20:04:02 +02:00
test_socks.c Merge branch 'maint-0.3.5' 2019-02-08 08:19:34 -05:00
test_stats.c test/stats: Add minimal tests for rephist mtbf 2019-11-05 10:50:39 +10:00
test_status.c Fix more 32-bit errors with domain and tt_int_op 2019-07-25 20:11:33 -04:00
test_storagedir.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_switch_id.c Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
test_switch_id.sh Fix shellcheck SC2006 warnings in test_switch_id.sh 2019-02-24 17:02:06 -05:00
test_threads.c Merge remote-tracking branch 'nickm/bug27073_029' into bug27073_034 2019-03-14 06:47:32 +10:00
test_token_bucket.c test_token_bucket: negate after casting to signed type. 2019-08-06 11:42:04 -04:00
test_tortls_openssl.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_tortls.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_tortls.h Run "make autostyle." 2019-06-05 09:33:35 -04:00
test_util_format.c Replace all remaining tor_mem_is_zero() with fast_mem_is_zero() 2019-04-30 14:49:05 -04:00
test_util_process.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_util.c Re-run make autostyle. 2019-10-22 09:40:31 -04:00
test_voting_flags.c Move voteflags.[ch] to become dirauth only. 2019-05-02 09:22:13 -04:00
test_voting_schedule.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_workqueue_cancel.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_efd2.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_efd.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_pipe2.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_pipe.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue_socketpair.sh Fix SC2086 warning in test_workqueue_*.sh shell scripts 2019-02-08 16:51:49 +02:00
test_workqueue.c Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
test_x509.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test_zero_length_keys.sh test/scripts: Use the same code to find the tor binary 2019-11-05 11:07:31 +10:00
test-memwipe.c Run "make autostyle." 2019-06-05 09:33:35 -04:00
test-network.sh Remove no-longer needed logging statements 2019-04-02 12:59:37 +03:00
test-process.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test-timers.c Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
test.c Merge remote-tracking branch 'tor-github/pr/1477' 2019-11-05 14:23:10 +10:00
test.h Merge remote-tracking branch 'tor-github/pr/1477' 2019-11-05 14:23:10 +10:00
testing_common.c tests: set DataDirectory_option as well as DataDirectory. 2019-10-24 20:38:02 -04:00
testing_rsakeys.c Re-run "make autostyle" with improved annotate_ifdef_directives 2019-09-30 08:57:37 -04:00
vote_descriptors.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
zero_length_keys.sh Merge branch 'maint-0.4.0' 2019-05-29 21:20:02 +03:00