From 9b972260cb805e3537ab9464ef5347348792d7cf Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Oct 25 2016 08:35:04 +0000 Subject: dlopen-test: Add missing libraries to the check list nfsidmap plugin(sss.so) and libsss_cert.so were not checked. Few libraries which are build for testing purposes were added to the list otherwise we would not be able to detect unchecked libraries. Reviewed-by: Petr Čech (cherry picked from commit 558b8f3cd2439c01e139cf5f812aea9409fe776a) --- diff --git a/src/tests/dlopen-tests.c b/src/tests/dlopen-tests.c index 6e37dbe..c980ab9 100644 --- a/src/tests/dlopen-tests.c +++ b/src/tests/dlopen-tests.c @@ -78,6 +78,7 @@ struct so { { "libsss_child.so", { LIBPFX"libsss_util.so", LIBPFX"libsss_child.so", NULL } }, { "libsss_crypt.so", { LIBPFX"libsss_crypt.so", NULL } }, + { "libsss_cert.so", { LIBPFX"libsss_cert.so", NULL } }, { "libsss_util.so", { LIBPFX"libsss_util.so", NULL } }, { "libsss_simple.so", { LIBPFX"libdlopen_test_providers.so", LIBPFX"libsss_simple.so", NULL } }, @@ -114,6 +115,18 @@ struct so { #ifdef HAVE_CONFIG_LIB { "libsss_config.so", { LIBPFX"libsss_config.so", NULL } }, #endif +#ifdef BUILD_NFS_IDMAP + { "sss.so", { LIBPFX"sss.so", NULL } }, +#endif + /* for testing purposes */ + { "libsss_nss_idmap_tests.so", { LIBPFX"libsss_nss_idmap_tests.so", + NULL } }, +#ifdef BUILD_SAMBA + { "libdlopen_test_winbind_idmap.so", + { LIBPFX"libdlopen_test_winbind_idmap.so", NULL } }, + { "libsss_ad_tests.so", { LIBPFX"libdlopen_test_providers.so", + LIBPFX"libsss_ad_tests.so", NULL } }, +#endif { NULL } };