bind9/bin
Michał Kępień 4847de9de1 Improve test discovery logic in get_ports.sh
The find invocation used by the bin/tests/system/get_ports.sh script
("find . -maxdepth 1 -mindepth 1 -type d") assumes the list of
directories in bin/tests/system/ remains unchanged throughout the run
time of a single system test suite.  With pytest in use and the
conftest.py file now present in bin/tests/system/, that assumption is no
longer true as a __pycache__ directory may be created when the first
pytest-based test is started.  Since the list of names returned by the
above find invocation serves as a fixed-size array of "port range
slots", any changes to that list during a system test suite run may lead
to port assignment collisions [1].

Fix by making the find invocation more nuanced, so that it only returns
names of directories containing test code.  Squash a grep / cut pipeline
into a single awk invocation.

[1] see commit 31e5ca4bd9

(cherry picked from commit 4e0d576858)
2022-03-14 09:04:10 +01:00
..
check Refer to RFC 4592 for DNS wildcards 2022-03-10 20:18:52 +01:00
confgen Split out ddns-confgen and tsig-keygen man pages 2022-03-10 20:18:52 +01:00
delv Use compile-time paths in the manual pages 2022-02-10 17:08:24 +01:00
dig Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
dnssec Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
named Make dns_catz_get_iterator() return void 2022-03-08 20:47:06 +01:00
nsupdate Reorder the nsupdate shutdown code to shutdown managers early 2022-03-08 09:50:13 +01:00
plugins Make isc_ht_init() and isc_ht_iter_create() return void 2022-03-08 20:47:06 +01:00
rndc Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
tests Improve test discovery logic in get_ports.sh 2022-03-14 09:04:10 +01:00
tools Fix the remaining cases of <prog>_CFLAGS -> <prog>_CPPFLAGS 2022-03-13 18:53:19 +01:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00