Mark Andrews
8c9d54c99c
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 16:19:19 +10:00
Mark Andrews
9789729a43
look for '\0'
...
(cherry picked from commit d03a81c265 )
2018-05-18 12:51:20 +10:00
Mark Andrews
593933bd5f
add some %f format tests
...
(cherry picked from commit f5233ba5de )
2018-05-18 12:51:20 +10:00
Evan Hunt
edb2282379
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:45 -07:00
Evan Hunt
5a21193fdd
update file headers
2018-03-15 11:30:37 -07:00
Ondřej Surý
9f830be501
update file headers to remove copyright years
2018-03-15 09:09:15 +01:00
Ondřej Surý
b6fa2721d5
Fix whitespace
2018-03-14 12:46:56 +01:00
Evan Hunt
1beabb5bcb
Fix compiler warnings and test failures when building without threads
...
(cherry picked from commit 56353aaf42 )
2018-03-10 10:37:26 -08:00
Evan Hunt
a6e5d9a2ca
Merge branch 'clean-bin-tests-v9_9' into 'v9_9'
...
clean up bin/tests, convert unit tests to ATF
Closes #115
See merge request isc-projects/bind9!93
2018-03-09 23:52:26 -08:00
Evan Hunt
e6c446bfba
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
(cherry picked from commit 80834b5b90 )
(cherry picked from commit 442c1530a3 )
(cherry picked from commit 6fe8188cc3 )
2018-03-09 23:35:02 -08:00
Evan Hunt
a73b843515
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
(cherry picked from commit 88bfe56876 )
(cherry picked from commit 38f9cddcad )
(cherry picked from commit 430d35e332 )
2018-03-09 23:15:10 -08:00
Evan Hunt
6bd3de3615
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
(cherry picked from commit efccdad0ea )
(cherry picked from commit 274ee0b425 )
(cherry picked from commit 5b477b2aa4 )
2018-03-09 23:11:47 -08:00
Evan Hunt
a6dcb138b5
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
(cherry picked from commit c7fa56e8db )
(cherry picked from commit 492e19d6ec )
(cherry picked from commit 1200d6f072 )
2018-03-09 23:09:54 -08:00
Evan Hunt
d446bbb815
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
(cherry picked from commit af48544b75 )
(cherry picked from commit 814cd21e22 )
(cherry picked from commit 7014d0994b )
2018-03-09 23:07:40 -08:00
Evan Hunt
00bc2c2355
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
(cherry picked from commit af0c9b2cee )
(cherry picked from commit faedafd2b4 )
(cherry picked from commit 67b63a3e10 )
2018-03-09 23:03:56 -08:00
Evan Hunt
6b970316c8
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
(cherry picked from commit fadb93cf43 )
(cherry picked from commit 323e2f7152 )
(cherry picked from commit b392c18f6e )
2018-03-09 23:03:11 -08:00
Mark Andrews
7d459e36be
update printf format to match type
...
(cherry picked from commit 48ca11df5f )
(cherry picked from commit 9a0373b896 )
2018-02-26 10:58:11 +11:00
Mark Andrews
6d2ddd3c49
improve the conditional declaration and use of variable to silence cppcheck
...
(cherry picked from commit a04bb76973 )
(cherry picked from commit 8e046acb50 )
2018-02-26 10:58:09 +11:00
Mark Andrews
e76df9d04f
silence unread assignment warning by using POST macro
...
(cherry picked from commit e8249dcd49 )
(cherry picked from commit cdb6c5c106 )
2018-02-26 10:54:19 +11:00
Evan Hunt
7677cb277a
final cleanup
...
- add CHANGES note
- update copyrights and license headers
2018-02-25 13:13:26 -08:00
Evan Hunt
ae6c141f7b
tidying up after backport
...
(cherry picked from commit 854f7846d8 )
(cherry picked from commit 6653dcab3d )
2018-02-25 13:10:00 -08:00
Petr Menšík
3727e6a944
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 )
(cherry picked from commit 6d9b38e9fe )
(cherry picked from commit 6f2fd5ccca )
2018-02-23 15:51:50 -08:00
Mark Andrews
2670173c43
conditionally declare stacksize
2018-02-16 18:44:47 +11:00
Mark Andrews
810fdbe4e7
use %u instead of %d
2018-02-16 18:30:18 +11:00
Mark Andrews
f6e83e4108
use %u instead of %d
2018-02-16 18:30:18 +11:00
Mark Andrews
9d061a7864
use %u instead of %d
2018-02-16 18:29:17 +11:00
Mark Andrews
a6f0a302ea
case to unsigned; reorder expression
2018-02-16 18:25:33 +11:00
Mark Andrews
13421f89a2
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 18:16:48 +11:00
Evan Hunt
ff9f94f78a
[v9_9] prep 9.9.12rc1
2018-02-15 11:20:01 -08:00
Tinderbox User
af6854e060
update copyright notice / whitespace
2018-02-08 23:53:55 +00:00
Mark Andrews
e004a9a491
[v9_9] fix nsupdate test on windows
...
4888. [test] Initialize sockets correctly in sample-update so
that nsupdate system test will will run on Windows.
[RT #47097 ]
(cherry picked from commit 6757dc6488 )
2018-02-08 13:36:44 -08:00
Evan Hunt
0712192947
[v9_9] update 9.11 api range
2018-01-24 10:24:48 -08:00
Evan Hunt
00947bf45d
[v9_9] prep 9.9.12b1
2018-01-24 10:15:30 -08:00
Tinderbox User
8d5a01a868
update copyright notice / whitespace
2018-01-13 23:50:30 +00:00
Mukund Sivaraman
4f47e5fd63
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
...
(cherry picked from commit f96133826e )
(cherry picked from commit 0374e1c3fd )
(cherry picked from commit 929329d2d6 )
(cherry picked from commit d072be0691 )
2018-01-13 12:02:18 +05:30
Tinderbox User
536fe358af
update copyright notice / whitespace
2018-01-09 23:49:31 +00:00
Mark Andrews
55c81d796c
4860. [bug] isc_int8_t should be signed char. [RT #46973 ]
...
(cherry picked from commit 21f708c88c )
2018-01-10 08:42:38 +11:00
Mark Andrews
455296d36a
Revert "unconditionally typedef summarystat_t for coverity"
...
This reverts commit 59c2cad2f3 .
2018-01-05 11:10:28 +11:00
Tinderbox User
f3e5a44f00
update copyright notice / whitespace
2018-01-04 23:47:43 +00:00
Mark Andrews
59c2cad2f3
unconditionally typedef summarystat_t for coverity
...
(cherry picked from commit a0e66ef6dd )
2018-01-05 10:12:16 +11:00
Tinderbox User
3d87b339d1
update copyright notice / whitespace
2018-01-02 23:47:41 +00:00
Mark Andrews
4d16a4653d
4852. [bug] Add REQUIRE's and INSIST's to isc_time_formattimestamp,
...
isc_time_formathttptimestamp, isc_time_formatISO8601.
[RT #46892 ]
2018-01-02 10:49:43 +11:00
Tinderbox User
7aeee801e6
regen v9_9
2017-12-29 02:41:20 +00:00
Tinderbox User
92c1063230
update copyright notice / whitespace
2017-12-06 23:48:04 +00:00
Mark Andrews
7b34ba54c9
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
...
(cherry picked from commit 9d5a0abe81 )
(cherry picked from commit 58c86991ee )
2017-12-06 21:05:34 +11:00
Tinderbox User
03674299c7
update copyright notice / whitespace
2017-11-30 23:50:30 +00:00
Mark Andrews
5e94477563
4833. [bug] isc_event_free should check that the event is not
...
linked when called. [RT #46725 ]
4832. [bug] Events were not being removed from zone->rss_events.
[RT #46725 ]
(cherry picked from commit 9ddf7d6c4c )
2017-11-30 10:39:29 +11:00
Tinderbox User
c49b27bc75
update copyright notice / whitespace
2017-11-28 23:48:09 +00:00
Mark Andrews
76cff0f786
4829. [bug] isc_heap_delete did not zero the index value when
...
the heap was created with a callback to do that.
[RT #46709 ]
(cherry picked from commit 65a483106e )
2017-11-28 19:04:56 +11:00
Tinderbox User
230916c184
update copyright notice / whitespace
2017-11-27 23:50:30 +00:00