From 16b5262cf2e593f9d2086806096f73d526873b3c Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 25 Mar 2011 16:15:26 +0000 Subject: re-organise tests somewhat making things more consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1413 ef36b2f9-881f-0410-afb5-c4e39611909c --- tests/test_myldap.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests/test_myldap.c') diff --git a/tests/test_myldap.c b/tests/test_myldap.c index 6295118..6465538 100644 --- a/tests/test_myldap.c +++ b/tests/test_myldap.c @@ -39,18 +39,6 @@ struct worker_args { int id; }; -static const char *foo=""; - -/* this is a simple way to get this into an executable, - we should probably read a valid config instead */ -const char **base_get_var(int UNUSED(map)) {return NULL;} -int *scope_get_var(int UNUSED(map)) {return NULL;} -const char **filter_get_var(int UNUSED(map)) {return &foo;} -const char **attmap_get_var(int UNUSED(map),const char UNUSED(*name)) {return &foo;} -const char *attmap_get_value(MYLDAP_ENTRY UNUSED(*entry),const char UNUSED(*attr),char UNUSED(*buffer),size_t UNUSED(buflen)) {return "";} -void *attmap_add_attributes(void UNUSED(*set),const char UNUSED(*attr)) {return NULL;} -const char *attmap_set_mapping(const char UNUSED(**var),const char UNUSED(*value)) {return NULL;} - /* the maxium number of results to print (all results are retrieved) */ #define MAXRESULTS 10 -- cgit v1.2.3