lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #include <dlfcn.h> |
2 | |||||
3 | static int | ||||
4 | do_test (void) | ||||
5 | { | ||||
6 | void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY); | ||||
7 | int (*fp)(void) = dlsym(h, "f"); | ||||
8 | return fp() - 1; | ||||
9 | } | ||||
10 | |||||
11 | #define TEST_FUNCTION do_test () | ||||
12 | #include "../test-skeleton.c" |