tor/src/test
David Goulet 2d74da3d0e test: Fix a warning underflow in rend_cache/clean
Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:

rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev 2240fe63feb9a8cf)

The test is still good and valid.

Fixes #28660

Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-01-23 13:11:49 -05:00
..
fuzz Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
bench.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
bt_test.py Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
ed25519_exts_ref.py Bump copyright date to 2019. 2019-01-16 12:32:32 -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
failing_routerdescs.inc
fakechans.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
fuzz_static_testcases.sh Bump copyright date to 2019. 2019-01-16 12:32:32 -05: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:32:32 -05:00
hs_test_helpers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
hs_test_helpers.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
include.am Only pass -C default-linker-libraries with sanitizers 2018-10-29 10:00:23 -07:00
log_test_helpers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
log_test_helpers.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
Makefile.nmake Add tests for circuitstats.c 2017-12-07 00:04:39 +00:00
ntor_ref.py Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
ope_ref.py Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
rend_test_helpers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
rend_test_helpers.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05: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
sr_srv_calc_ref.py
test_accounting.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_addr.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_address_set.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_address.c If address/get_if_addrs6 can't findipv6, log WARN, not ERR 2019-01-23 12:04:57 -05:00
test_bridges.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_bt_cl.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_bt.sh Try putting ulimit -c 0 in test_bt.sh to see if it fixes bug 26787 2018-07-18 16:33:48 -04:00
test_buffers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_bwmgt.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_cell_formats.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_cell_queue.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_channel.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_channelpadding.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_channeltls.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_checkdir.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_circuitbuild.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_circuitlist.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_circuitmux.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_circuitstats.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_circuituse.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_compat_libevent.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_config.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_connection.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_connection.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_conscache.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_consdiff.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_consdiffmgr.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_containers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_controller_events.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_controller.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_crypto_ope.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_crypto_openssl.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_crypto_slow.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_crypto.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_data.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_descriptors.inc
test_dir_common.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_dir_common.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_dir_handle_get.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_dir.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_dns.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_dos.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_entryconn.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_entrynodes.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_extorport.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_geoip.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_guardfraction.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_handles.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_helpers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_helpers.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_cache.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_cell.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_client.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_common.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_config.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_control.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_descriptor.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_descriptor.inc Add unittest for #23233. 2017-08-21 19:16:30 +03:00
test_hs_intropoint.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_ntor_cl.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs_ntor.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05: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 Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_hs.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_introduce.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_key_expiration.sh SKIP test_key_expiration.sh on Windows until the underlying issue is resolved 2018-07-18 12:37:12 +10:00
test_keygen.sh Merge branch 'maint-0.3.2' into maint-0.3.3 2018-07-17 14:56:52 -04:00
test_keypin.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_link_handshake.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_logging.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_mainloop.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_microdesc.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_nodelist.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_ntor_cl.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_ntor.sh
test_oom.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_oos.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_options.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_pem.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_periodic_event.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_policy.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_procmon.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_proto_http.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_proto_misc.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_protover.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_pt.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_rebind.py Merge branch 'ticket28883_035' into maint-0.3.5 2018-12-19 15:36:03 -05:00
test_rebind.sh Create a temporary directory for tor's DataDirectory in test_rebind. 2018-12-17 10:32:28 -05:00
test_relay.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_relaycell.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_relaycrypt.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_rendcache.c test: Fix a warning underflow in rend_cache/clean 2019-01-23 13:11:49 -05:00
test_replay.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_router.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_routerkeys.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_routerlist.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_routerset.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_rust.sh Fix segfaults related to sanitizers+jemalloc 2018-10-01 22:55:59 -07:00
test_scheduler.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_shared_random.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_slow.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_socks.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_status.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_storagedir.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_switch_id.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_switch_id.sh
test_threads.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_tortls_openssl.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_tortls.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_tortls.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_util_format.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_util_process.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_util_slow.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_util.c Capture more BUG warnings in util/time test 2019-01-23 12:37:12 -05:00
test_voting_schedule.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_workqueue_cancel.sh
test_workqueue_efd2.sh
test_workqueue_efd.sh
test_workqueue_pipe2.sh
test_workqueue_pipe.sh
test_workqueue_socketpair.sh
test_workqueue.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_x509.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test_zero_length_keys.sh Start splitting src/or 2018-07-05 17:15:50 -04:00
test-child.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test-memwipe.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test-network.sh Fix everything that previously referred to src/or 2018-07-05 17:15:50 -04:00
test-timers.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
test.h Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
testing_common.c Fail any unit test that causes an unhandled LD_BUG or LOG_ERR 2019-01-16 15:47:33 -05:00
testing_rsakeys.c Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
vote_descriptors.inc
zero_length_keys.sh