Commit Graph

27386 Commits

Author SHA1 Message Date
Ondřej Surý
e8f38da2df Make calls to the start.pl always use the test name instead of '.'
(cherry picked from commit 16b95157e8)
2018-12-03 17:10:26 +01:00
Brian Conry
1ae7ca6606 start.pl - refactor
(cherry picked from commit 0fc8bfef13)
2018-12-03 17:09:48 +01:00
Brian Conry
ee737c8328 start.pl - wait for server to say 'running'
(cherry picked from commit 597049461d)
2018-12-03 17:09:05 +01:00
Ondřej Surý
60bb1b4e04 Merge branch '628-improvements-to-system-tests-v9_12' into 'v9_12'
(v9_12) Tiny small improvements to system test scripts.

See merge request isc-projects/bind9!1167
2018-12-03 03:51:28 -05:00
Ondřej Surý
e3379c44cb Add ALTERNATIVE_ALGORITHM to conf.sh
(cherry picked from commit b2c4c35493)
2018-12-03 09:30:44 +01:00
Ondřej Surý
d1dffe2fd3 Export SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script) and scrub / from the test names
(cherry picked from commit 1b2a3a0ea6)
2018-12-03 09:02:14 +01:00
Mark Andrews
b0a3640185 Merge branch '754-silence-warning-about-first-half-of-conditional-always-being-true-v9_12' into 'v9_12'
Resolve "Silence warning about first half of conditional always being true."

See merge request isc-projects/bind9!1164
2018-12-03 01:18:47 -05:00
Mark Andrews
05785b4902 only test for prefixlen <= 63
(cherry picked from commit 5744415a75)
2018-12-03 17:06:02 +11:00
Mark Andrews
02f2e291e3 Merge branch 'u/fanf2/catz-logging-v9_12' into 'v9_12'
U/fanf2/catz logging v9 12

See merge request isc-projects/bind9!1161
2018-12-03 00:15:36 -05:00
Mark Andrews
9e68b93f01 add CHANGES note
(cherry picked from commit e6c5ad37a4)
2018-12-03 15:52:15 +11:00
Tony Finch
7ac356688c catz: improved log message when a zone is overridden
If you have a catalog zone containing 10.in-addr.arpa and an
explicitly-configured version which overrides the catz version,
`named` used to log:

catz: error "success" while trying to add zone "10.in-addr.arpa"

After this patch it logs:

catz: zone "10.in-addr.arpa" is overridden by explicitly configured zone
(cherry picked from commit 16eb35187a)
2018-12-03 15:52:14 +11:00
Mark Andrews
56109ac061 Merge branch '585-dnssec-coverage-fails-with-typeerror-for-ksk-with-a-deletion-date-set-v9_12' into 'v9_12'
Resolve "dnssec-coverage fails with TypeError for KSK with a Deletion date set"

See merge request isc-projects/bind9!1158
2018-11-29 19:26:45 -05:00
Mark Andrews
1813c9d5e0 add CHANGES note
(cherry picked from commit 02d20a2f53)
2018-11-30 11:14:01 +11:00
Mark Andrews
5ee79f833e use documented default key ttl
(cherry picked from commit 6499bdfd8b)
2018-11-30 11:12:51 +11:00
Mark Andrews
096caccf1d add reproducer for [GL #585]
(cherry picked from commit 0ac2a868bb)
2018-11-30 11:12:51 +11:00
Evan Hunt
e2891f18d9 Merge branch 'each-export-dynamic-v9_12' into 'v9_12'
set the export-dynamic linker flag on linux

See merge request isc-projects/bind9!1155
2018-11-29 02:37:33 -05:00
Evan Hunt
4ae085a066 set the export-dynamic linker flag on linux 2018-11-28 23:22:00 -08:00
Mark Andrews
b312523265 Merge branch '748-dns_catz_-are-missing-lots-of-dbc-checks-v9_12' into 'v9_12'
Resolve "dns_catz_* are missing lots of DBC checks."

See merge request isc-projects/bind9!1152
2018-11-28 22:55:16 -05:00
Mark Andrews
17d9fa3cc7 add missing DBC checks for catz and add isc_magic checks; add DBC checks to ht.c
(cherry picked from commit a487473fc5)
2018-11-29 14:41:41 +11:00
Mark Andrews
91f9c5691e Merge branch '731-catalog-zone-incorrect-logging-v9_12' into 'v9_12'
Resolve "Catalog zone incorrect logging"

See merge request isc-projects/bind9!1146
2018-11-28 07:59:39 -05:00
Mark Andrews
b559bd1ebb update zname with the current zone anme
(cherry picked from commit 0708e43d3f)
2018-11-28 23:34:26 +11:00
Michał Kępień
d70430424c Merge branch '730-fix-build-time-python-configuration-v9_12' into 'v9_12'
[v9_12] Fix build-time Python configuration

See merge request isc-projects/bind9!1139
2018-11-27 10:25:22 -05:00
Michał Kępień
13da99a80c Add CHANGES entry
5101.	[bug]		Fix default installation path for Python modules.
			[GL #730]

(cherry picked from commit b94293f591)
2018-11-27 15:44:43 +01:00
Ondřej Surý
ed4c700c33 Fix build-time Python configuration
Apply various fixes and tweaks to Python configuration logic implemented
in the "configure" script:

  - Prevent PYTHON_INSTALL_DIR, which holds the value passed to the
    --with-python-install-dir option, from being set to "unspec" by
    default as this breaks installing Python modules when the
    --with-python-install-dir option is not used.

  - Make the --with-python-install-dir option also work when the Python
    interpreter is specified explicitly (using --with-python=<...>).

  - Improve contents and placement of error messages.

  - Reduce duplication of code checking Python dependencies.

  - Use Autoconf macros AS_CASE() and AS_IF() instead of plain shell
    code.

  - Update comments.  Capitalize the word "Python" when referring to the
    language itself rather than a specific executable.

(cherry picked from commit d75602406e)
2018-11-27 15:43:49 +01:00
Ondřej Surý
eab8d3f9c8 Merge branch 'ondrej-add-python-3.6-and-3.7-to-configure.ac-v9_12' into 'v9_12'
(v9_12) Add python3.6 and python3.7 to the search list of python versions

See merge request isc-projects/bind9!1137
2018-11-27 06:30:02 -05:00
Ondřej Surý
81cf925147 Add python3.6 and python3.7 to the search list of python versions
(cherry picked from commit da9038e9a0)
2018-11-27 10:32:53 +01:00
Mark Andrews
5f383955e7 Merge branch '715-side-effect-in-assertion-in-name_test-c-v9_12' into 'v9_12'
Resolve "side effect in assertion in name_test.c"

See merge request isc-projects/bind9!1124
2018-11-22 19:07:49 -05:00
Mark Andrews
35efc053b4 address coverity side effect in assert warning
(cherry picked from commit 2156a5b610)
2018-11-23 10:21:38 +11:00
Mark Andrews
521cf75c6a Merge branch '710-fix-socket-test-v9_12' into 'v9_12'
Use proper casting in socket unit test

See merge request isc-projects/bind9!1120
2018-11-22 01:18:10 -05:00
Mark Andrews
edcb378845 replace strncpy + setting end of array to NUL with strlcpy 2018-11-22 16:43:43 +11:00
Witold Kręcicki
7eb17b968a Use proper casting in socket unit test
(cherry picked from commit 5f81aa10bc)
2018-11-22 16:43:43 +11:00
Ondřej Surý
01d3142920 Disable internal malloc for AddressSanitizer build
(cherry picked from commit 4f7177c794)
2018-11-22 16:43:43 +11:00
Ondřej Surý
5e21c945ff Add AddressSanitizer enabled build to GitLab CI
(cherry picked from commit a8649cc299)
2018-11-22 16:43:43 +11:00
Mark Andrews
a1c36d5efb Merge branch '712-memleak-in-delv-v9_12' into 'v9_12'
Fix a small memleak in delv

See merge request isc-projects/bind9!1115
2018-11-22 00:42:00 -05:00
Witold Kręcicki
0db061aef9 Fix a small memleak in delv
(cherry picked from commit d00b3f47ba)
2018-11-22 08:22:34 +11:00
Mark Andrews
f1ad5bcc2e Merge branch 'ondrej/use-strlcpy-in-wks_11.c-v9_12' into 'v9_12'
Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used

See merge request isc-projects/bind9!1113
2018-11-21 16:19:10 -05:00
Ondřej Surý
e839d4b978 Use strlcpy in place where strncpy(s, ...) + s[sizeof(s)-1] = \0; was used
(cherry picked from commit 175f06949f)
2018-11-22 08:10:41 +11:00
Mark Andrews
dcca5934d6 Merge branch '711-fix-memory-leak-in-lex_test-v9_12' into 'v9_12'
Fix memory leak in lex_test.c

See merge request isc-projects/bind9!1111
2018-11-21 15:51:34 -05:00
Ondřej Surý
f9b96e6de0 Fix memory leak in lex_test.c
(cherry picked from commit 7a3eb391fa)
2018-11-21 15:03:26 -05:00
Mark Andrews
0be191f866 Merge branch '702-unchecked-returns-in-server-c-v9_12' into 'v9_12'
Resolve "unchecked returns in server.c"

See merge request isc-projects/bind9!1109
2018-11-21 14:58:59 -05:00
Mark Andrews
e9be58edc9 address unchecked return values
(cherry picked from commit ccfd577715)
2018-11-22 06:50:32 +11:00
Evan Hunt
2babbb0add Merge branch 'systest-entropy' into 'v9_12'
increase pseudorandom data in system tests

See merge request isc-projects/bind9!1091
2018-11-17 02:53:05 -05:00
Evan Hunt
19aaecafeb better system test entropy
- use /dev/urandom in gitlab CI
- use genrandom to get 4k of data instead of 800 bytes
- set this value as RANDOMSIZE in conf.sh
2018-11-17 01:27:06 +00:00
Evan Hunt
aa2f71e3a5 Merge branch '703-resource-leak-in-dlz_filesystem_driver-c-v9_12' into 'v9_12'
Resolve "resource leak in dlz_filesystem_driver.c"

See merge request isc-projects/bind9!1089
2018-11-16 20:00:10 -05:00
Mark Andrews
422559fbc0 cleanup allocated memory on error
(cherry picked from commit 4979d5f31f)
2018-11-16 16:51:46 -08:00
Evan Hunt
d9cc728ed4 Merge branch 'cmocka-silence-v9_12' into 'v9_12'
remove (or hide behind a 'verbose' flag) extra output from unit tests

See merge request isc-projects/bind9!1087
2018-11-16 16:10:50 -05:00
Evan Hunt
a305008346 remove (or hide behind a 'verbose' flag) extra output from system tests
(cherry picked from commit 8f15219f36)
2018-11-16 12:59:11 -08:00
Evan Hunt
58a93e7211 Merge branch '4-warn-not-fail-v9_12' into 'v9_12'
warn, rather than failing, if kyua is not present

See merge request isc-projects/bind9!1085
2018-11-16 15:55:58 -05:00
Evan Hunt
3ff49fa614 warn, rather than failing, if kyua is not present
(cherry picked from commit 6cfb2249e1)
2018-11-16 12:42:21 -08:00
Evan Hunt
7121d711ad Merge branch 'fix-debug-output-v9_12' into 'v9_12'
echo debug output (D:text) the same as informational (I:text)

See merge request isc-projects/bind9!1083
2018-11-16 14:44:35 -05:00