Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* properly handle spaces in some configuration options ↵Arthur de Jong2007-12-261-39/+70
| | | | | | (major change in code in cfg module) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@534 ef36b2f9-881f-0410-afb5-c4e39611909c
* in test_two_searches() test that we can read from the ↵Arthur de Jong2007-12-261-1/+10
| | | | | | second search if the first search as abandoned git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@533 ef36b2f9-881f-0410-afb5-c4e39611909c
* have myldap_get_entry() return an LDAP status code that ↵Arthur de Jong2007-12-251-11/+12
| | | | | | can signal errors in the lookup git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@531 ef36b2f9-881f-0410-afb5-c4e39611909c
* add limited test for reconnect logicArthur de Jong2007-12-222-1/+45
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@523 ef36b2f9-881f-0410-afb5-c4e39611909c
* limit printing of results in test to just 10Arthur de Jong2007-12-221-25/+29
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@520 ef36b2f9-881f-0410-afb5-c4e39611909c
* include script name in messages and have srcdir default to .Arthur de Jong2007-12-221-2/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@519 ef36b2f9-881f-0410-afb5-c4e39611909c
* only test the first URI in the configfileArthur de Jong2007-12-212-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@513 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass configfile to use as a command-line paramter to ↵Arthur de Jong2007-12-203-41/+73
| | | | | | test_myldap, use the myldap_session_close() function, print a limited number of results, add a wrapper script to test whether the LDAP server is available for the test and ship all needed files in the tarball git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@512 ef36b2f9-881f-0410-afb5-c4e39611909c
* fail on any command and specify configfile separatelyArthur de Jong2007-12-201-2/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@511 ef36b2f9-881f-0410-afb5-c4e39611909c
* set pagesize to some more reasonable valueArthur de Jong2007-12-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@501 ef36b2f9-881f-0410-afb5-c4e39611909c
* have assertion on correct searchArthur de Jong2007-12-201-2/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@500 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo in commentArthur de Jong2007-12-141-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@494 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix objects that are needed to get tests linkable (due ↵Arthur de Jong2007-12-091-3/+3
| | | | | | to namechange from ldap-nss to myldap) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@492 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove ugly spaceArthur de Jong2007-12-091-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@490 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some comments to tests, enable netgroup tests and ↵Arthur de Jong2007-12-091-31/+47
| | | | | | extend ether and services tests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@487 ef36b2f9-881f-0410-afb5-c4e39611909c
* script to run a number of NSS commands (mainly getent) ↵Arthur de Jong2007-10-281-0/+323
| | | | | | and check the result (this requires an LDAP setup that is yet to be documented) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@467 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate basic myldap interface (partially merged from ↵Arthur de Jong2007-10-193-1/+316
| | | | | | dev-myldap branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@443 ef36b2f9-881f-0410-afb5-c4e39611909c
* include debugging information in object filesArthur de Jong2007-10-191-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@442 ef36b2f9-881f-0410-afb5-c4e39611909c
* move most C[PP]FLAGS options to AM_C[PP]FLAGS and clean ↵Arthur de Jong2007-10-191-4/+7
| | | | | | up a little git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@441 ef36b2f9-881f-0410-afb5-c4e39611909c
* add all objects that are now needed to test the ↵Arthur de Jong2007-09-221-1/+7
| | | | | | configuration module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@415 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove test for alloc_lsd() because we don't use struct ↵Arthur de Jong2007-09-221-27/+0
| | | | | | ldap_service_search_descriptor any more git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@414 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some checks for the configuration moduleArthur de Jong2007-08-192-2/+228
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@360 ef36b2f9-881f-0410-afb5-c4e39611909c
* move dict and tio tests into the tests directoryArthur de Jong2007-08-195-57/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@359 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a serious bug in dict_values_next() that would ↵Arthur de Jong2007-07-231-1/+8
| | | | | | return map pointers instead of values and write a test for it git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@315 ef36b2f9-881f-0410-afb5-c4e39611909c
* add support for removing entries from a DICT by setting ↵Arthur de Jong2007-07-231-0/+5
| | | | | | the value to NULL (this does not free any memory) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@313 ef36b2f9-881f-0410-afb5-c4e39611909c
* disable test that will always failArthur de Jong2007-07-151-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@307 ef36b2f9-881f-0410-afb5-c4e39611909c
* do the simple unit tests at make check timeArthur de Jong2007-07-132-2/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@303 ef36b2f9-881f-0410-afb5-c4e39611909c
* support building outside the source directoryArthur de Jong2007-06-173-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@289 ef36b2f9-881f-0410-afb5-c4e39611909c
* move dict into the common directoryArthur de Jong2007-06-112-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@279 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement our own stdio-like library that handles IO ↵Arthur de Jong2007-06-093-2/+234
| | | | | | with a simple configurable timeout mechanism with buffering git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
* some remaining tabs to spaces and trim trailing spacesArthur de Jong2007-06-051-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@271 ef36b2f9-881f-0410-afb5-c4e39611909c
* add gcc attributes to some functions and parametersArthur de Jong2007-02-172-2/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@250 ef36b2f9-881f-0410-afb5-c4e39611909c
* add simple test for dict moduleArthur de Jong2007-02-043-1/+91
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@236 ef36b2f9-881f-0410-afb5-c4e39611909c
* change license from GNU Library General Public License ↵Arthur de Jong2007-01-0912-84/+84
| | | | | | v.2 to GNU Lesser General Public License v.2.1 with permission from Luke Howard git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@215 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of a few warningsArthur de Jong2006-12-301-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@207 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly capitalize company nameArthur de Jong2006-12-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@191 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove trailing spacesArthur de Jong2006-12-171-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@172 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove _nss_ldap_initgroups_dyn() from interface for now ↵Arthur de Jong2006-12-161-0/+2
| | | | | | because it is currently not working git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@162 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of old test code (most of it should be covered ↵Arthur de Jong2006-12-0810-1499/+0
| | | | | | by the new test code) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@151 ef36b2f9-881f-0410-afb5-c4e39611909c
* split out common files into own variable and disable ↵Arthur de Jong2006-12-031-12/+15
| | | | | | (comment out) protocol debugging git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@137 ef36b2f9-881f-0410-afb5-c4e39611909c
* get as many files from the root directory as possible, ↵Arthur de Jong2006-11-2813-0/+1895
| | | | | | moving all server related code to the server directory and moving and splitting the test code to the tests directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@131 ef36b2f9-881f-0410-afb5-c4e39611909c
* add keyword expansion (svn:keywords) to all files ↵Arthur de Jong2006-10-125-5/+5
| | | | | | containing keywords git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@9 ef36b2f9-881f-0410-afb5-c4e39611909c
* import release 251 of nss-ldapArthur de Jong2006-10-119-0/+843
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss_ldap-251@1 ef36b2f9-881f-0410-afb5-c4e39611909c