Evan Hunt
33f428efda
remove ATF source code and Atffiles
...
(cherry picked from commit 8c4d50c6bc )
2018-11-15 01:09:17 -08:00
Joey and Evan Hunt
37ce8f1021
convert socket_test; remove ATF from lib/isc/tests
...
(cherry picked from commit 9eea00cd3c )
2018-11-15 01:05:11 -08:00
Evan Hunt
7abdd9e87a
convert atomic_test
2018-11-15 00:38:16 -08:00
Evan Hunt
b0309ae739
convert isc_ntop_test
2018-11-15 00:24:14 -08:00
Evan Hunt
7bbe60ada1
convert print_test
2018-11-15 00:20:22 -08:00
Evan Hunt
6182c94334
convert regex_test
...
(cherry picked from commit bd009b34a6 )
2018-11-15 00:06:23 -08:00
Evan Hunt
13a6d71e88
convert random_test
...
(cherry picked from commit 6ad7acd787 )
2018-11-15 00:03:52 -08:00
Joey and Evan Hunt
15f7486d7b
convert mem_test
...
(cherry picked from commit 683094e308 )
2018-11-14 22:38:15 -08:00
Evan Hunt
7c4ed64665
convert timer_test
...
(cherry picked from commit 20cef35ece )
2018-11-14 22:36:45 -08:00
Evan Hunt
f524cc713e
convert task_test
2018-11-14 22:35:03 -08:00
Joey and Evan Hunt
bdf9ea7de7
convert hash_test
...
(cherry picked from commit 72f60bdd84 )
2018-11-14 22:30:05 -08:00
Evan Hunt
360d7d3d72
convert ht_test
...
(cherry picked from commit c701f036ea )
2018-11-14 22:15:53 -08:00
Evan Hunt
8d0396737c
convert time_test
...
(cherry picked from commit 3bf9a1e567 )
2018-11-14 22:14:54 -08:00
Evan Hunt
98bff81bae
convert taskpool_test
...
(cherry picked from commit c9ff174dce )
2018-11-14 22:14:54 -08:00
Evan Hunt
16d2d27b04
convert pool_test
...
(cherry picked from commit 4f84acb788 )
2018-11-14 22:14:52 -08:00
Evan Hunt
be41574a20
convert sockaddr_test
...
(cherry picked from commit 231436039d )
2018-11-14 22:14:34 -08:00
Evan Hunt
ba2262910a
convert netaddr_test
...
(cherry picked from commit 7ab8c5b583 )
2018-11-14 22:13:56 -08:00
Evan Hunt
7b2288483f
convert symtab_test
...
(cherry picked from commit 5f377136be )
2018-11-14 22:13:56 -08:00
Evan Hunt
b59107e687
convert queue_test
...
(cherry picked from commit b3db0266cb )
2018-11-14 22:13:54 -08:00
Evan Hunt
3b95658020
convert file_test
...
(cherry picked from commit 8161be27db )
2018-11-14 22:13:24 -08:00
Evan Hunt
0e08dc2e2b
convert lex_test
...
(cherry picked from commit 4133fd86f1 )
2018-11-14 22:13:21 -08:00
Evan Hunt
df41c2668f
convert errno_test
...
(cherry picked from commit 049a3a7c0e )
2018-11-14 22:12:50 -08:00
Evan Hunt
5f3ba36436
convert safe_test
...
(cherry picked from commit c1c8d8846f )
2018-11-14 22:12:47 -08:00
Evan Hunt
5640841732
convert radix_test
...
(cherry picked from commit 718ca3166c )
2018-11-14 22:10:33 -08:00
Evan Hunt
57d78a76e5
convert heap_test
...
(cherry picked from commit cc6ab2416b )
2018-11-14 22:10:14 -08:00
Evan Hunt
f29a9d5bc5
convert parse_test
...
(cherry picked from commit a7c308df9c )
2018-11-14 22:08:50 -08:00
Evan Hunt
856add745a
convert counter_test
...
(cherry picked from commit 52b86f0abe )
2018-11-14 22:08:50 -08:00
Evan Hunt
3095574c1c
convert buffer_test
...
(cherry picked from commit 02a5db7631 )
2018-11-14 22:08:49 -08:00
Evan Hunt
c679b85424
convert aes_test
...
(cherry picked from commit dc88db015b )
2018-11-14 22:08:26 -08:00
Evan Hunt
41831a7d24
assert if {isc,dns,ns}_test_begin() is called when a prior test is running
...
(cherry picked from commit d8766293ab )
2018-11-14 22:04:35 -08:00
Evan Hunt
03c7a096c6
remove .NOTPARALLEL so unit tests can build faster
...
(cherry picked from commit b434b0a4b6 )
2018-11-14 21:54:43 -08:00
Mark Andrews
97a108f00d
remove lib/isc/tests/result_test as it is now cmocka
...
(cherry picked from commit 9024cf0c15 )
2018-11-13 07:50:13 +11:00
Evan Hunt and Mark Andrews
0a2706b288
convert result tests to use CMocka instead of ATF
...
(cherry picked from commit 471110933a )
2018-11-12 15:10:52 +11:00
Mark Andrews
3bc66aa712
check result tables are complete
...
(cherry picked from commit 4f04a79250 )
2018-11-12 15:09:37 +11:00
Ondřej Surý and Mark Andrews
3b2f9ceec6
Integrate cmocka unit testing framework to kyua
...
(cherry picked from commit 07910f0153 )
2018-11-12 12:22:33 +11:00
Ondřej Surý
fcd1569e2b
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
...
(cherry picked from commit b2b43fd235 )
2018-11-08 14:37:14 +07:00
Evan Hunt
d99a9db93a
silence warning from missing print.h
...
(cherry picked from commit a0de6707c0 )
2018-10-30 08:09:28 -07:00
Michał Kępień
72caf33ffb
Add unit tests for isc_buffer_copyregion()
...
Add some basic checks for isc_buffer_copyregion() to ensure it behaves
as expected for both fixed-size buffers and buffers which can be
automatically reallocated. Adjust the list of headers included by
lib/isc/tests/buffer_test.c so that it matches what that test program
really uses.
(cherry picked from commit 15440d8027 )
2018-10-30 13:33:42 +01:00
Mark Andrews and Evan Hunt
cbccec86f7
mempool didn't work for sizes less than sizeof(void*)
...
(cherry picked from commit 5dd1beec8e )
2018-08-14 09:00:05 -07:00
Ondřej Surý
884929400c
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
2018-08-10 11:17:51 +02:00
Ondřej Surý
d61e6a3111
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
2018-08-09 18:30:20 +02:00
Ondřej Surý
c863a076ae
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
...
(cherry picked from commit 64fe6bbaf2 )
2018-08-09 18:30:20 +02:00
Ondřej Surý
38a6d1d44d
Change isc_buffer_reallocate() into a static functions as it is not used outside of isc_buffer_reserve()
...
(cherry picked from commit 20faf4652a )
2018-08-01 08:41:25 +02:00
Ondřej Surý
56117f9799
Remove illogical condition from isc_buffer_reallocate that would return ISC_R_NOSPACE when requested size is less than available size
...
(cherry picked from commit 7785f644c3 )
2018-08-01 08:41:25 +02:00
Tinderbox User
bbf35634c0
prep 9.12.2rc2
2018-06-28 04:42:37 +00:00
Mark Andrews
24bb79f9fc
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 15:59:14 +10:00
Mark Andrews
f5233ba5de
add some %f format tests
2018-05-18 12:17:31 +10:00
Ondřej Surý
c35de9b383
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:19:35 +02:00
Mark Andrews and Michał Kępień
438395086c
silence cppcheck portability warning
...
(cherry picked from commit 6aae115d15 )
2018-05-11 08:30:13 +02:00
Ondřej Surý
36efa304e6
Also test the higher part of the confidence interval
...
(cherry picked from commit 8d3220643c )
2018-05-03 15:04:15 +02:00