mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
dlopen_basic just tests that libthr.so can be dlopen()ed, which will just serve as a sanity check that "libthr.so" is a thing that can be dlopened in case we get a weird failure in dlopen_recursing. dlopen_recursing tests a regression reported after the libsys split, where some dlopen() may cause infinite recursion and a resulting crash. This case is inspired by bdrewery's description of what seemed to be causing his issue. The corresponding fix landed in commit968a18975a("rtld: ignore load_filtees() calls if we already [...]") Reviewed by: kib (cherry picked from commitc5796f1572)
20 lines
370 B
Makefile
20 lines
370 B
Makefile
|
|
SUBDIR+= libpythagoras libdeep libval libval2 target
|
|
TESTS_SUBDIRS+= rtld_deepbind
|
|
|
|
SUBDIR_DEPEND_libdeep= libval2
|
|
SUBDIR_DEPEND_rtld_deepbind= libval
|
|
SUBDIR_DEPEND_target= libpythagoras
|
|
|
|
ATF_TESTS_C= ld_library_pathfds
|
|
ATF_TESTS_C+= ld_preload_fds
|
|
|
|
.for t in ${ATF_TESTS_C}
|
|
SRCS.$t= $t.c common.c
|
|
.endfor
|
|
|
|
ATF_TESTS_C+= dlopen_test
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.test.mk>
|