]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix ns_plugin_expandpath tests with no extension
authorColin Vidal <colin@isc.org>
Wed, 30 Jul 2025 08:35:26 +0000 (10:35 +0200)
committerColin Vidal <colin@isc.org>
Wed, 30 Jul 2025 08:35:26 +0000 (10:35 +0200)
commit32909254f5fa3fdb042ce8fa1e32f7b90ec6f68d
tree2d174761e376948133d8931d2206971292ea520e
parent1b6347483e613902e791574fccb67b76194cb542
fix ns_plugin_expandpath tests with no extension

Parts of ns_plugin_expandpath() test expected the plugin extension to be
appened automatically (the plugin name/path is provided without the
extension), this enable to test the logic which adds the correct
extension based on the platfrom.

But the expected expanded paths from the test were hard coded with the
`.so` extension, so the test can't pass on macOS platform. This fixes
the test by using the macro providing the current-platform extension.
tests/ns/plugin_test.c