bind9/bin/tests
Ondřej Surý fbd2e47f51 Add small tweaks to the code to fix compilation when ISC assertions are disabled
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.

This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.

The changes in this commit include:

* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
2018-11-08 12:21:53 +07:00
..
bigtest update file headers 2018-03-15 18:33:13 -07:00
optional Convert the bin/tests/optional/sig0_test.c to use RSASHA1 instead of DSA 2018-10-26 11:50:11 +02:00
pkcs11 Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
system Add small tweaks to the code to fix compilation when ISC assertions are disabled 2018-11-08 12:21:53 +07:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
virtual-time address win32 build issues 2018-05-22 16:32:21 -07:00
win32 Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
cfg_test.c Update documentation 2018-10-24 20:32:56 +02:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
Makefile.in Fix ax_check_openssl to accept yes and improve it to modern autotools standard 2018-07-23 22:10:52 +02:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
named.conf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00