From 67c7333f6441bd61161019503af39cc3d61539b9 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 20 Jun 2014 17:14:59 +0000 Subject: 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 --- libexec/rtld-elf/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libexec/rtld-elf/Makefile') diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index ba13778..48e86f7 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -80,5 +80,9 @@ beforeinstall: NO_PIE= yes +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include .include -- cgit v1.1