mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-10-23 14:48:44 +00:00
When kyua is called without the --logfile command line option, the log file is created at a default location which is derived from the HOME environment variable. On FreeBSD GitLab CI runners, /home is a read-only directory and thus kyua invocations not using the --logfile option fail when HOME is set to something beneath /home. Set --logfile to /dev/null for all kyua invocations whose logs are irrelevant in order to prevent kyua failures caused by HOME being non-writable.
Unit tests for BIND 9 are based on the CMocka testing framework and the Kyua test execution engine. If your distribution of choice doesn't include packages for kyua or cmocka, the sources can be found here: * Kyua 0.13 - https://github.com/jmmv/kyua/releases * CMocka 1.0 - https://cmocka.org/files/