static int test_dlfcn_tests_run(suite *s) { int res; res = test_dlfcn_test_dlopen(); res &= test_dlfcn_test_dlsym(); return res; }
sym_shutdown = dlsym(handle, "evil_shutdown"); if (!sym_shutdown) { dlclose(handle); return 0; } if (dlclose(handle)) return 0; return 1; } static int test_dlfcn_tests_run(suite *s __UNUSED__) { int res; res = test_dlfcn_test_dlopen(); res &= test_dlfcn_test_dlsym(); return res; } int test_dlfcn(suite *s) { return test_dlfcn_tests_run(s); }