diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-12-28 10:58:00 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-12-28 10:58:00 +0100 |
commit | 9aba86c2bbc5fd34488fe0af7af1518136a4e2c8 (patch) | |
tree | a734c2216783f80e53a1b2dc2fe772d45c7e5ebb /tests | |
parent | 0fb00e2586c84da109cbdd583285a23b76342180 (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-x | tests/test_nsscmds.sh | 5 |
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 |