tor/src/test
cypherpunks 04f21f0322 Remove abort handler from the backtrace generator
The abort handler masks the exit status of the backtrace generator by
capturing the abort signal from the backtrace handler and exiting with
zero. Because the output of the backtrace generator is meant to be piped
to `bt_test.py`, its exit status is unimportant and is currently
ignored.

The abort handler calls `exit(3)` which is not asynchronous-signal-safe
and calling it in this context is undefined behavior [0].

Closes ticket 21026.

[0] https://www.securecoding.cert.org/confluence/x/34At
2016-12-23 10:54:17 -05:00
..
bench.c Simplify the crypto_cipher_t interface and structure 2016-09-16 10:12:30 -04:00
bt_test.py Treat bt_test.py failures as "SKIP" on freebsd. 2016-02-01 14:11:45 -05:00
ed25519_exts_ref.py Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05: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 Update the copyright year. 2016-02-27 18:48:19 +01:00
include.am Merge branch 'dgoulet_ticket19043_030_03_squashed' 2016-12-14 15:28:28 -05:00
log_test_helpers.c Placate "make check-spaces" 2016-09-08 15:43:56 -04:00
log_test_helpers.h fixup! Add expect_log_msg_containing_either3() and expect_log_msg_containing_either4() 2016-11-16 13:14:00 +11:00
Makefile.nmake Prop210: Refactor connection_get_* to produce lists and counts 2015-12-16 04:02:12 +11:00
ntor_ref.py Use the kdf_rfc5869() function instead of kdf(). 2016-02-28 15:24:59 +01:00
rend_test_helpers.c Update the copyright year. 2016-02-27 18:48:19 +01:00
rend_test_helpers.h Update the copyright year. 2016-02-27 18:48:19 +01: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 Fix a bug in displaying IPv6 addrs in test_op_ipv6_ with --verbose 2016-10-11 20:09:24 -04:00
test_address.c fixup! Add expect_log_msg_containing_either3() and expect_log_msg_containing_either4() 2016-11-16 13:14:00 +11:00
test_bt_cl.c Remove abort handler from the backtrace generator 2016-12-23 10:54:17 -05:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_buffers.c Make preferred_chunk_size avoid overflow, handle big inputs better 2016-09-13 09:07:12 -04:00
test_cell_formats.c Add some unit testing for ed25519 IDs in extend2 cells. 2016-12-08 16:48:00 -05:00
test_cell_queue.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_channel.c Fix a completely stupid stack-protector warning in test_channels.c 2016-12-08 17:50:01 -05:00
test_channeltls.c Merge branch 'feature_15055_v2' 2016-11-03 08:44:46 -04:00
test_checkdir.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_circuitlist.c prop224 prepwork: Use of HS circuitmap in existing HS code. 2016-12-14 15:17:58 -05:00
test_circuitmux.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_circuituse.c test: Fix memory leak in test_circuituse.c 2016-12-09 10:20:14 -05:00
test_compat_libevent.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_config.c Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
test_connection.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
test_containers.c Add a smartlist_remove_keeporder() function, with tests. 2016-11-30 14:42:52 -05:00
test_controller_events.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_controller.c Split bridge functions into a new module. 2016-11-30 14:42:52 -05:00
test_crypto_slow.c Disable a single pbkdf2 test vector 2016-09-09 09:57:15 -04:00
test_crypto.c crypto: Change crypto_mac_sha3_256 to use the key length in the construction 2016-12-14 15:18:40 -05:00
test_data.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -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 Fix unit test failure introduced by #20002 2016-09-07 13:40:38 -04:00
test_dir_common.h Update the copyright year. 2016-02-27 18:48:19 +01:00
test_dir_handle_get.c Do not serve a consensus if it is too old 2016-11-10 10:16:18 +13:00
test_dir.c Merge branch 'ticket20831_v2' 2016-12-16 11:40:19 -05:00
test_dns.c Fix all -Wshadow warnings on Linux 2016-07-28 06:58:44 -04:00
test_entryconn.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
test_entrynodes.c Fix another pointless stack-protector warning. 2016-12-16 14:06:25 -05:00
test_extorport.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_guardfraction.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_handles.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
test_helpers.c adding documentation to extracted unit test helper 2016-11-24 08:12:36 -05:00
test_helpers.h moving useful test helper to test_helpers.h 2016-11-24 08:12:27 -05:00
test_hs_cache.c hs: Remove private keys from hs_desc_plaintext_data_t. 2016-12-16 12:48:33 -05:00
test_hs_descriptor.c hs: Remove private keys from hs_desc_plaintext_data_t. 2016-12-16 12:48:33 -05:00
test_hs_intropoint.c crypto: Change crypto_mac_sha3_256 to use the key length in the construction 2016-12-14 15:18:40 -05:00
test_hs_service.c Fix a few clang warnings. 2016-12-14 16:01:27 -05:00
test_hs.c Merge branch 'maint-0.2.9' 2016-12-11 20:40:12 -05:00
test_introduce.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -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 Update the copyright year. 2016-02-27 18:48:19 +01:00
test_link_handshake.c Canonicity update for ed25519. 2016-12-08 16:48:00 -05:00
test_logging.c Tests for message rate-limiting 2016-06-16 11:54:50 -04:00
test_microdesc.c Fix all -Wshadow warnings on Linux 2016-07-28 06:58:44 -04:00
test_nodelist.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_ntor_cl.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
test_ntor.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test_oom.c moving useful test helper to test_helpers.h 2016-11-24 08:12:27 -05:00
test_oos.c Avoid asserts in oos/kill_conn_list unit test 2016-08-26 00:02:00 +00:00
test_options.c Use the correct preprocessor macro for Linux 2016-12-08 07:48:19 -05:00
test_policy.c Merge branch 'maint-0.2.9' 2016-11-08 18:51:19 -05:00
test_procmon.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_protover.c Rename compute_protover_vote to protover_compute_vote 2016-09-26 10:56:53 -07:00
test_pt.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
test_pubsub.c Basic work on a publish/subscribe abstraction 2016-05-11 13:25:11 -04:00
test_relay.c Fix a coupole of coverity complaints. 2016-09-09 15:29:57 -04:00
test_relaycell.c Add clang's -Wstring-conversion, and fix the one place it hits 2016-06-11 10:11:54 -04:00
test_rendcache.c Fix a lovely heisenbug in rend_cache/store_v2_desc_as_client 2016-12-15 08:42:03 -05:00
test_replay.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_routerkeys.c whitespace fixes 2016-11-03 08:55:54 -04:00
test_routerlist.c Wrap all of the legacy guard code, and its users, in #ifdefs 2016-12-16 11:06:22 -05:00
test_routerset.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_scheduler.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_shared_random.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_slow.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_socks.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
test_status.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_switch_id.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_switch_id.sh Coverage hack for test_switch_id.sh 2016-06-20 11:15:47 -04:00
test_threads.c Make a couple more tests run faster. 2016-09-09 10:08:27 -04:00
test_tortls.c Merge branch 'maint-0.2.9' 2016-11-06 20:24:29 -05:00
test_util_format.c Fix unreachable heap corruption in base64_decode() 2016-12-23 09:47:09 -05:00
test_util_process.c Simplify log_test_helpers interface 2016-09-08 15:03:11 -04:00
test_util_slow.c Update the copyright year. 2016-02-27 18:48:19 +01:00
test_util.c Fix unreachable heap corruption in base64_decode() 2016-12-23 09:47:09 -05: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 Raise libevent dependency to 2.0.10-stable or newer 2016-07-04 12:40:09 +02:00
test_zero_length_keys.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test-child.c Fix a large pile of solaris warnings for bug 19767. 2016-07-28 10:47:46 -04:00
test-memwipe.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test-network.sh We fixed #15937, update a comment 2016-07-26 19:20:53 -04:00
test-timers.c convert timers.c to use real monotonic time. 2016-07-19 11:40:46 +02:00
test.c Merge branch 'dgoulet_ticket19043_030_03_squashed' 2016-12-14 15:28:28 -05:00
test.h Merge branch 'dgoulet_ticket19043_030_03_squashed' 2016-12-14 15:28:28 -05:00
testing_common.c Merge branch 'maint-0.2.9' 2016-11-07 16:31:40 -05:00
testing_rsakeys.c whitespace fixes 2016-11-03 08:55:54 -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