]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/test/test-dlopen.c
cpu-set-util: use %d-%d format in cpu_set_to_range_string() only for actual ranges
[thirdparty/systemd.git] / src / test / test-dlopen.c
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2
3 #include <dlfcn.h>
4 #include <stdlib.h>
5
6 #include "macro.h"
7
8 int main(int argc, char **argv) {
9 void *handle;
10
11 assert_se(handle = dlopen(argv[1], RTLD_NOW));
12 assert_se(dlclose(handle) == 0);
13
14 return EXIT_SUCCESS;
15 }