Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-12-28 10:58:00 +0100
committerArthur de Jong <arthur@arthurdejong.org>2009-12-28 10:58:00 +0100
commit9aba86c2bbc5fd34488fe0af7af1518136a4e2c8 (patch)
treea734c2216783f80e53a1b2dc2fe772d45c7e5ebb /tests
parent0fb00e2586c84da109cbdd583285a23b76342180 (diff)
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
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_nsscmds.sh5
1 files changed, 5 insertions, 0 deletions
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