diff --git a/src/test/test-dlopen-so.c b/src/test/test-dlopen-so.c index 6436dc600f..8e1ce6a0d0 100644 --- a/src/test/test-dlopen-so.c +++ b/src/test/test-dlopen-so.c @@ -5,11 +5,13 @@ #include "cryptsetup-util.h" #include "idn-util.h" +#include "libfido2-util.h" #include "macro.h" #include "main-func.h" #include "pwquality-util.h" #include "qrcode-util.h" #include "tests.h" +#include "tpm2-util.h" static int run(int argc, char **argv) { test_setup_logging(LOG_DEBUG); @@ -34,6 +36,14 @@ static int run(int argc, char **argv) { assert_se(dlopen_qrencode() >= 0); #endif +#if HAVE_TPM2 + assert_se(dlopen_tpm2() >= 0); +#endif + +#if HAVE_LIBFIDO2 + assert_se(dlopen_libfido2() >= 0); +#endif + return 0; } diff --git a/test/test-functions b/test/test-functions index ce2c42b954..482cb7b490 100644 --- a/test/test-functions +++ b/test/test-functions @@ -697,7 +697,7 @@ install_missing_libraries() { # A number of dependencies is now optional via dlopen, so the install # script will not pick them up, since it looks at linkage. - for lib in libcryptsetup libidn libidn2 pwquality libqrencode; do + for lib in libcryptsetup libidn libidn2 pwquality libqrencode tss2-esys tss2-rc tss2-mu libfido2; do if pkg-config --exists ${lib}; then path=$(pkg-config --variable=libdir ${lib}) if ! [[ ${lib} =~ ^lib ]]; then