freebsd-skq/libexec/rtld-elf/tests/Makefile
Jonathan Anderson 6b22f423cf 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
2014-06-20 17:14:59 +00:00

15 lines
237 B
Makefile

# $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>