]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix netmgr setup/teardown issues; setup and teardown only once in timer_test
authorEvan Hunt <each@isc.org>
Wed, 13 Nov 2019 07:13:49 +0000 (23:13 -0800)
committerOndřej Surý <ondrej@sury.org>
Wed, 13 Nov 2019 13:47:47 +0000 (14:47 +0100)
commitbd9f5c3c193843b30378a590468564354bfba8ae
tree2e1eb7ab6d906ebbf0e9b7a31ce967b0df9375e6
parentaca0f887502fde99e24751f2523723292fd9cec2
fix netmgr setup/teardown issues; setup and teardown only once in timer_test

- the netmgr was not correctly being specified when creating the task
  manager, and was cleaned up in the wrong order when shutting down.
- on freebsd, timer_test appears to be prone to failure if the
  netmgr is set up and torn down before and after ever test case, but
  less so if it's only set up once at the beginning and once at the
  end.
lib/isc/tests/isctest.c
lib/isc/tests/timer_test.c