]> git.ipfire.org Git - thirdparty/bind9.git/commit
ns_plugin_expandpath() auto-extension unit-tests
authorColin Vidal <colin@isc.org>
Mon, 21 Jul 2025 13:58:31 +0000 (15:58 +0200)
committerColin Vidal <colin@isc.org>
Mon, 28 Jul 2025 21:08:04 +0000 (23:08 +0200)
commitcdbaddb524193227b028de0a58eb806bccea8952
tree3d48218b6b94483f3e318d1e1169db8e94dfa357
parent7747ac8aed685bc47179d0e929f0c34e69c90cff
ns_plugin_expandpath() auto-extension unit-tests

Update existing ns_plugin_expandpath() unit test to cover the logic
appending the plugin extension if missing.

Because ns_plugin_expandpath() now relies on isc_file_exists() API, a
mocked version has been added in tests/ns/plugin_test.c and relies on the
linker --wrap mechanism.
tests/ns/meson.build
tests/ns/plugin_test.c