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
Mark Andrews
ba238ab374
use %u instead of %d for unsigned int arguments
...
(cherry picked from commit 49f8e9571c )
2018-04-20 15:13:12 -07:00
Evan Hunt
a61afa750f
add an 'untested' case when none of the atomic operations are available
...
- this fixes a build failure introduced in change 4913 when
compiling with ATF and --disable-atomic
(cherry picked from commit 1b3eac926e )
2018-03-15 12:09:33 -07:00
Ondřej Surý
661364c8cf
Fix whitespace
2018-03-15 00:14:23 +01:00
Evan Hunt
09fade72a0
Fix compiler warnings and test failures when building without threads
...
(cherry picked from commit 56353aaf42 )
2018-03-10 10:37:12 -08:00
Evan Hunt
07e2e20868
add missing includes
...
(cherry picked from commit a173c9c18f )
2018-03-09 16:55:56 -08:00
Evan Hunt
80834b5b90
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
2018-03-09 14:40:12 -08:00
Evan Hunt
289836a066
shorten ht_test and random_test
...
(cherry picked from commit 9b753aa154 )
2018-03-09 14:39:56 -08:00
Evan Hunt
88bfe56876
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
2018-03-09 14:39:56 -08:00
Evan Hunt
efccdad0ea
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
2018-03-09 14:39:56 -08:00
Evan Hunt
c7fa56e8db
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
2018-03-09 14:39:55 -08:00
Evan Hunt
af48544b75
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
2018-03-09 14:39:55 -08:00
Evan Hunt
af0c9b2cee
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
2018-03-09 14:39:55 -08:00
Evan Hunt
fadb93cf43
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
2018-03-09 14:39:55 -08:00
Mark Andrews
a7c51e8c79
remove deadcode
...
(cherry picked from commit b71a1386ed )
2018-02-26 10:39:44 +11:00
Petr Menšík
eb5c7e91fa
unit/unittest.sh is generated by configure. It will always be
...
generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.
(cherry picked from commit 95cde3608a )
2018-02-23 15:45:19 -08:00
Ondřej Surý
557a5c3f78
Update license headers to not include years in copyright in all applicable files
...
(cherry picked from commit 843d389661 )
2018-02-23 10:38:02 +01:00
Tinderbox User
042b8c6f08
update copyright notice / whitespace
2018-02-01 23:47:39 +00:00
Michał Kępień
5a03cc6d01
[v9_12] Silence compiler warnings about comparisons between signed and unsigned integers [RT #46980 ]
...
(cherry picked from commit a3c2b8831e )
2018-02-01 21:29:03 +01:00
Francis Dupont
5075f3faef
Merged rt46864 (check MD5 amd SHA1 support)
2018-01-17 14:36:06 +01:00
Tinderbox User
7001d93870
update copyright notice / whitespace
2018-01-09 23:46:10 +00:00
Mark Andrews
3eab3b21ec
4861. [bug] The isc_crc64 unit test was not endian independent.
...
[RT #46973 ]
(cherry picked from commit 0ce212b9f5 )
2018-01-10 09:46:47 +11:00
Tinderbox User
82820349cb
update copyright notice / whitespace
2018-01-03 23:45:49 +00:00
Mark Andrews
4a63f0253c
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
(cherry picked from commit 1e10ef06ce )
2018-01-04 09:58:02 +11:00
Tinderbox User
251446d350
regen v9_12
2017-12-29 02:16:29 +00:00
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Tinderbox User
34075107ba
update copyright notice / whitespace
2017-11-28 23:45:35 +00:00
Mark Andrews
65a483106e
4829. [bug] isc_heap_delete did not zero the index value when
...
the heap was created with a callback to do that.
[RT #46709 ]
2017-11-28 18:49:52 +11:00
Tinderbox User
e6801bf89e
update copyright notice / whitespace
2017-11-06 23:45:48 +00:00
Mukund Sivaraman
7e1df5182c
[master] isc_rng_randombytes()
...
4807. [cleanup] isc_rng_randombytes() returns a specified number of
bytes from the PRNG; this is now used instead of
calling isc_rng_random() multiple times. [RT #46230 ]
2017-11-06 10:44:37 -08:00
Mark Andrews
5ff48dca18
#include <inttypes.h>
2017-10-20 16:36:07 +11:00
Mark Andrews
66258ca349
4776. [bug] Improve portability of ht_test. [RT #46333 ]
2017-10-20 16:04:59 +11:00
Mark Andrews
583e355951
4775. [bug] Address Coverity warnings in ht_test.c and mem_test.c
...
[RT #46281 ]
2017-10-19 13:08:31 +11:00
Michał Kępień
0d61fe5dfd
[master] Remove non-portable isc_buffer_printf() unit test
2017-10-11 09:30:48 +02:00
Tinderbox User
5414e48606
update copyright notice / whitespace
2017-10-09 23:45:53 +00:00
Evan Hunt
4c368378fc
[master] print.h; add missing win32 declaration
2017-10-09 15:01:46 -07:00
Michał Kępień
077f9626c2
[master] Add isc_buffer_printf()
...
4767. [func] Add a new function, isc_buffer_printf(), which can be
used to append a formatted string to the used region of
a buffer. [RT #46201 ]
2017-10-09 11:43:07 +02:00
Tinderbox User
7ac51a8380
update copyright notice / whitespace
2017-10-04 23:45:46 +00:00
Mark Andrews
5fcdb09126
4752. [test] Add unit test for isc_net_pton. [RT #46171 ]
2017-10-04 14:10:40 +11:00
Tinderbox User
e880197f31
update copyright notice / whitespace
2017-09-27 23:45:52 +00:00
Mark Andrews
2495de04a5
use %u and cast to unsigned int
2017-09-27 17:57:07 +10:00
Mark Andrews
42ee853c23
check for ISC_R_EOF
2017-09-27 16:19:07 +10:00
Mark Andrews
73074e954a
4740. [cleanup] Avoid triggering format-truncated warnings. [RT #46107 ]
2017-09-27 16:02:02 +10:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Tinderbox User
8200eb4c60
update copyright notice / whitespace
2017-09-21 23:47:11 +00:00
Mark Andrews
af7ded82e0
alphabetise
2017-09-21 17:48:26 +10:00
Tinderbox User
243b3ec486
regen master
2017-09-21 07:23:48 +00:00
Mark Andrews
d17cf1cade
explicitly list test programs
2017-09-21 12:56:33 +10:00
Tinderbox User
ffbe6b9537
update copyright notice / whitespace
2017-09-19 23:46:23 +00:00
Mukund Sivaraman
d5707676e4
Don't use memset() to wipe memory ( #45947 )
2017-09-19 16:16:45 +05:30