Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* add tests for new LDAP lookupsArthur de Jong2008-02-032-2/+49
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@616 ef36b2f9-881f-0410-afb5-c4e39611909c
* enable _nss_ldap_initgroups_dyn() test because it's ↵Arthur de Jong2008-02-011-6/+2
| | | | | | working now git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@603 ef36b2f9-881f-0410-afb5-c4e39611909c
* pagectrl module has movedArthur de Jong2008-02-011-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@600 ef36b2f9-881f-0410-afb5-c4e39611909c
* test for hugegroupArthur de Jong2008-02-011-1/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@599 ef36b2f9-881f-0410-afb5-c4e39611909c
* the groups command no longer lists the usernameArthur de Jong2008-02-011-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@598 ef36b2f9-881f-0410-afb5-c4e39611909c
* re-add test URIs that accidentally got commented out in ↵Arthur de Jong2008-01-311-2/+2
| | | | | | the last commit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@590 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass the correct pthread flags for all calls to compiler ↵Arthur de Jong2008-01-314-16/+24
| | | | | | and linker and link in compat code, handle other assert.h setups and avoid some ! in if statements in shell scripts git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@589 ef36b2f9-881f-0410-afb5-c4e39611909c
* include errno in assertion statementArthur de Jong2008-01-301-27/+41
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@578 ef36b2f9-881f-0410-afb5-c4e39611909c
* when including stdint.h check if we actually have itArthur de Jong2008-01-271-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle the case where /etc/nss-ldapd.conf does not exist ↵Arthur de Jong2008-01-261-0/+6
| | | | | | a little more graceful git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@568 ef36b2f9-881f-0410-afb5-c4e39611909c
* somewhat improve the output from the testsArthur de Jong2008-01-263-52/+52
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@564 ef36b2f9-881f-0410-afb5-c4e39611909c
* also test map filter and scope configuration optionsArthur de Jong2008-01-261-1/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@562 ef36b2f9-881f-0410-afb5-c4e39611909c
* add a test for the map statementArthur de Jong2008-01-161-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@560 ef36b2f9-881f-0410-afb5-c4e39611909c
* support the case where + is in /etc/groupArthur de Jong2008-01-031-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@557 ef36b2f9-881f-0410-afb5-c4e39611909c
* get the number of groups and services from files in /etc ↵Arthur de Jong2008-01-031-4/+3
| | | | | | for comparison git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@554 ef36b2f9-881f-0410-afb5-c4e39611909c
* check to see if nslcd is running and add test for a ↵Arthur de Jong2008-01-011-4/+24
| | | | | | large group (100 members) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@550 ef36b2f9-881f-0410-afb5-c4e39611909c
* add limited implementation of tio_mark() and tio_reset() ↵Arthur de Jong2008-01-011-5/+74
| | | | | | functions to do limited seeks in the read stream, clean up header file comments and write tests for new code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@547 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove temporary file to make distcheck succeedArthur de Jong2007-12-261-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@538 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore erros in nss commandsArthur de Jong2007-12-261-1/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@536 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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