]> git.ipfire.org Git - thirdparty/tor.git/commit
Simplify log_test_helpers interface
authorNick Mathewson <nickm@torproject.org>
Thu, 8 Sep 2016 19:01:32 +0000 (15:01 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 8 Sep 2016 19:03:11 +0000 (15:03 -0400)
commitdeb294ff532d074a7d4094518c296fe69f819874
tree3a49b6c30ab041807a025fa463ff57ca328165db
parentb0a9e54705d16d08ae7aff272492832dbb35646d
Simplify log_test_helpers interface

Previously, you needed to store the previous log severity in a local
variable, and it wasn't clear if you were allowed to call these
functions more than once.
13 files changed:
src/test/log_test_helpers.c
src/test/log_test_helpers.h
src/test/test_address.c
src/test/test_circuitlist.c
src/test/test_compat_libevent.c
src/test/test_dir.c
src/test/test_guardfraction.c
src/test/test_link_handshake.c
src/test/test_options.c
src/test/test_rendcache.c
src/test/test_tortls.c
src/test/test_util.c
src/test/test_util_process.c