From: Mark Andrews Date: Thu, 3 Jun 2021 09:31:34 +0000 (+1000) Subject: Reset errcnt at the start of each subtest X-Git-Tag: v9.17.17~34^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3945c289bb52c94c68b9016cb94d51d9213ae41e;p=thirdparty%2Fbind9.git Reset errcnt at the start of each subtest --- diff --git a/lib/isc/tests/timer_test.c b/lib/isc/tests/timer_test.c index 717732010e7..d90ba2d1ae2 100644 --- a/lib/isc/tests/timer_test.c +++ b/lib/isc/tests/timer_test.c @@ -113,6 +113,8 @@ setup_test(isc_timertype_t timertype, isc_time_t *expires, isc_condition_init(&cv); + atomic_store(&errcnt, ISC_R_SUCCESS); + LOCK(&mx); result = isc_task_create(taskmgr, 0, &task);