Test RTLD's new LD_LIBRARY_PATH_FDS variable.
Test LD_LIBRARY_PATH_FDS by linking a binary that requires a shared library that isn't in any of the usual search paths. Ensure this fails when we don't supply LD_LIBRARY_PATH_FDS or we pass invalid information in it. Ensure it works when we pass the correct directory in various places in the variable. Approved by: rwatson (mentor) MFC after: 3 weeks Sponsored by: DARPA/AFRL
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/libexec/rtld-elf
|
||||
SUBDIR+= libpythagoras target
|
||||
|
||||
.PATH: ${.CURDIR:H:H:H:H}/tests
|
||||
|
||||
ATF_TESTS_C= ld_library_pathfds
|
||||
|
||||
CFLAGS+= -DTESTSDIR="\"${TESTSDIR}\""
|
||||
|
||||
.include <bsd.test.mk>
|
||||
Reference in New Issue
Block a user