summaryrefslogtreecommitdiffstats
path: root/src/test/test-dlopen-so.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/test-dlopen-so.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/test-dlopen-so.c b/src/test/test-dlopen-so.c
index e98b8da..d38dff1 100644
--- a/src/test/test-dlopen-so.c
+++ b/src/test/test-dlopen-so.c
@@ -4,12 +4,16 @@
#include <stdlib.h>
#include "bpf-dlopen.h"
+#include "compress.h"
#include "cryptsetup-util.h"
#include "elf-util.h"
+#include "gcrypt-util.h"
#include "idn-util.h"
+#include "libarchive-util.h"
#include "libfido2-util.h"
#include "macro.h"
#include "main-func.h"
+#include "module-util.h"
#include "password-quality-util-passwdqc.h"
#include "password-quality-util-pwquality.h"
#include "pcre2-util.h"
@@ -70,6 +74,30 @@ static int run(int argc, char **argv) {
assert_se(dlopen_p11kit() >= 0);
#endif
+#if HAVE_LIBARCHIVE
+ assert_se(dlopen_libarchive() >= 0);
+#endif
+
+#if HAVE_LZ4
+ assert_se(dlopen_lz4() >= 0);
+#endif
+
+#if HAVE_ZSTD
+ assert_se(dlopen_zstd() >= 0);
+#endif
+
+#if HAVE_XZ
+ assert_se(dlopen_lzma() >= 0);
+#endif
+
+#if HAVE_GCRYPT
+ assert_se(initialize_libgcrypt(/* secmem= */ false) >= 0);
+#endif
+
+#if HAVE_KMOD
+ assert_se(dlopen_libkmod() >= 0);
+#endif
+
return 0;
}