]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/test/test-dlopen.c
Merge pull request #15442 from poettering/fido2
[thirdparty/systemd.git] / src / test / test-dlopen.c
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
83b6af36
ZJS
2
3#include <dlfcn.h>
4#include <stdlib.h>
5
6#include "macro.h"
7
8int main(int argc, char **argv) {
9 void *handle;
10
dcd6361e 11 assert_se(handle = dlopen(argv[1], RTLD_NOW));
83b6af36
ZJS
12 assert_se(dlclose(handle) == 0);
13
14 return EXIT_SUCCESS;
15}