bind9/tests
Ondřej Surý a5f5f68502
Refactor isc_time_now() to return time, and not result
The isc_time_now() and isc_time_now_hires() were used inconsistently
through the code - either with status check, or without status check,
or via TIME_NOW() macro with RUNTIME_CHECK() on failure.

Refactor the isc_time_now() and isc_time_now_hires() to always fail when
getting current time has failed, and return the isc_time_t value as
return value instead of passing the pointer to result in the argument.
2023-03-31 15:02:06 +02:00
..
bench Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
dns Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
include/tests Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
irs Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
isc Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
isccfg Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
libtest Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
ns Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00