diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-05 11:55:27 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-05 11:55:27 +0200 |
commit | f3e308ff2d321a1be199a093224d093f7e9ad7fb (patch) | |
tree | 580e62a42279dcb4f0a396bafe7b55e767b8dbc5 /tests | |
parent | 9faded4d9b891dc7c26dcd5862680fe99c81c412 (diff) |
check that the last myldap_get_entry() returned success
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@654 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_myldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_myldap.c b/tests/test_myldap.c index 4880a01..c127b58 100644 --- a/tests/test_myldap.c +++ b/tests/test_myldap.c @@ -323,6 +323,7 @@ static void *worker(void *arg) printf("test_myldap: test_threads(): [worker %d] ...\n",args->id); } printf("test_myldap: test_threads(): [worker %d] DONE: %s\n",args->id,ldap_err2string(rc)); + assert(rc=LDAP_SUCCESS); /* clean up */ myldap_session_close(session); return 0; |