bind9/lib/isc/tests
Michał Kępień ea54a932d2 Convert add_quota() to a function
cppcheck 2.2 reports the following false positive:

    lib/isc/tests/quota_test.c:71:21: error: Array 'quotas[101]' accessed at index 110, which is out of bounds. [arrayIndexOutOfBounds]
     isc_quota_t *quotas[110];
                        ^

The above is not even an array access, so this report is obviously
caused by a cppcheck bug.  Yet, it seems to be triggered by the presence
of the add_quota() macro, which should really be a function.  Convert
the add_quota() macro to a function in order to make the code cleaner
and to prevent the above cppcheck 2.2 false positive from being
triggered.
2020-11-25 12:45:47 +01:00
..
testdata/file [master] new mkeys and nzf naming format 2014-11-04 19:43:27 -08:00
aes_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
buffer_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
counter_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
crc64_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
file_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hash_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
heap_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hmac_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ht_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
isctest.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
isctest.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
lex_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
Makefile.am add a netmgr unit test 2020-10-30 11:11:54 +01:00
md_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
mem_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
netaddr_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
netmgr_test.c add a netmgr unit test 2020-10-30 11:11:54 +01:00
parse_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
pool_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
quota_test.c Convert add_quota() to a function 2020-11-25 12:45:47 +01:00
radix_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
random_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
regex_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
result_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
safe_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
siphash_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
sockaddr_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
socket_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
symtab_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
task_test.c Add the ability to print out the list of test names (-l) 2020-10-01 08:21:42 +00:00
taskpool_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
time_test.c Add ISO time stamps to the microsecond 2020-09-30 23:56:18 +10:00
timer_test.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00