From 9aba86c2bbc5fd34488fe0af7af1518136a4e2c8 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Mon, 28 Dec 2009 09:58:00 +0000 Subject: preload our own NSS module for tests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1038 ef36b2f9-881f-0410-afb5-c4e39611909c --- tests/test_nsscmds.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/test_nsscmds.sh b/tests/test_nsscmds.sh index cb88857..f48cda3 100755 --- a/tests/test_nsscmds.sh +++ b/tests/test_nsscmds.sh @@ -64,6 +64,11 @@ fi echo "test_nsscmds.sh: using LDAP server $uri" +# preload our own NSS module +srcdir="${srcdir-"."}" +LD_PRELOAD="$srcdir/../nss/nss_ldap.so" +export LD_PRELOAD + # the total number of errors FAIL=0 -- cgit v1.2.3