From a60d5b2f38b2e74bd8273ce81031b7b828c90202 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 9 Dec 2020 21:13:58 +0100 Subject: test: add tpm2 and fido2 libs to dlopen test --- src/test/test-dlopen-so.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/test/test-dlopen-so.c') 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; } -- cgit v1.2.1