]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use proper cmocka macros for pointer checks
authorMichał Kępień <michal@isc.org>
Thu, 26 Nov 2020 12:10:40 +0000 (13:10 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 26 Nov 2020 12:15:28 +0000 (13:15 +0100)
commitfa989e42369ae56ca5411a100a1de1eafae0fc52
tree7b9249d1cc86998030240a830b4240b2641fdb41
parent5da3f59953b54a2e1588a4346c97957eab1709bb
Use proper cmocka macros for pointer checks

Make sure pointer checks in unit tests use cmocka assertion macros
dedicated for use with pointers instead of those dedicated for use with
integers or booleans.

(cherry picked from commit f44060012685213e4deedc1bce8be3868edd6af1)
lib/dns/tests/dispatch_test.c
lib/dns/tests/keytable_test.c
lib/dns/tests/name_test.c
lib/isc/tests/heap_test.c
lib/isc/tests/radix_test.c