]> git.ipfire.org Git - thirdparty/bind9.git/commit
apply_configuration: log subroutines for tests
authorColin Vidal <colin@isc.org>
Wed, 10 Sep 2025 13:17:11 +0000 (15:17 +0200)
committerColin Vidal <colin@isc.org>
Wed, 24 Sep 2025 08:54:50 +0000 (10:54 +0200)
commit3fe239e5cfa859557ed63fa2d08ffb9a484e265c
treef2fdfc0e1f390fd9ab862cd04f5f4b62cec75ad5
parentc225ba17c29b5f072fa43a33fd888fcc0cfd4b83
apply_configuration: log subroutines for tests

In order to have a (minimal) test ensuring we don't move back
`apply_configuration` subroutines which can be done before the exclusive
lock is taken, `APPLY_CONFIGURATION_SUBROUTINE_LOG` macro is added and
used for the few subroutines already extracted from the exclusive mode.
Those expected logs are added in `configloading` system test checks.
bin/named/server.c
bin/tests/system/configloading/tests_configloading.py