Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_nsscmds.sh
Commit message (Collapse)AuthorAgeFilesLines
* make the NSS tests dependant on the configuration of ↵Arthur de Jong2013-05-051-1/+45
| | | | | | nsswitch.conf (302c2fa from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1956 ef36b2f9-881f-0410-afb5-c4e39611909c
* update tests with change of member/uniqueMember default ↵Arthur de Jong2011-08-051-3/+3
| | | | | | change (r1484) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1486 ef36b2f9-881f-0410-afb5-c4e39611909c
* allow running test_{nss,pam}cmds tests from another ↵Arthur de Jong2011-04-151-1/+1
| | | | | | directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1424 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that all test source files are distibuted and can ↵Arthur de Jong2011-03-261-2/+4
| | | | | | tests can be run when source directory differs from build directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1416 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement test cases for some of the common PAM actions ↵Arthur de Jong2011-03-181-35/+2
| | | | | | (test environment required for this) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1398 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix name of script in headerArthur de Jong2011-03-131-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1392 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some test groups and add the arthur user to them to ↵Arthur de Jong2011-03-061-3/+3
| | | | | | test whether all are returned correctly git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1379 ef36b2f9-881f-0410-afb5-c4e39611909c
* sort group members by alphabet to not be dependant on ↵Arthur de Jong2010-12-181-11/+21
| | | | | | the order of attributes returned and the internal softing of the set git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1337 ef36b2f9-881f-0410-afb5-c4e39611909c
* update tests with current test set-up (with chasing a ↵Arthur de Jong2010-12-181-1/+1
| | | | | | referral and some other minor changes) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1336 ef36b2f9-881f-0410-afb5-c4e39611909c
* small improvements to the test setupArthur de Jong2010-04-011-16/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1077 ef36b2f9-881f-0410-afb5-c4e39611909c
* preload our own NSS module for testsArthur de Jong2009-12-281-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1038 ef36b2f9-881f-0410-afb5-c4e39611909c
* add test case for comma in DN attribute valueArthur de Jong2009-11-011-4/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1015 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename configfile to /etc/nslcd.conf and make debian ↵Arthur de Jong2009-08-311-1/+1
| | | | | | packaging copy the file to the new name on upgrade git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@980 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename software to nss-pam-ldapdArthur de Jong2009-08-311-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@978 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement case-sensitive filtering for group, netgroup, ↵Arthur de Jong2009-06-061-1/+59
| | | | | | passwd, protocols, rpc, services and shadow lookups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@934 ef36b2f9-881f-0410-afb5-c4e39611909c
* update and document test suiteArthur de Jong2009-06-061-1/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@932 ef36b2f9-881f-0410-afb5-c4e39611909c
* reflect change in test LDAP setupArthur de Jong2008-07-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@774 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix order of members in group in tests because of new ↵Arthur de Jong2008-04-231-4/+4
| | | | | | hashing dict (maybe we should fix the script instead to always sort members properly) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@695 ef36b2f9-881f-0410-afb5-c4e39611909c
* no problem to shout a little with failed testsArthur de Jong2008-04-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@659 ef36b2f9-881f-0410-afb5-c4e39611909c
* add tests for new LDAP lookupsArthur de Jong2008-02-031-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@616 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
* pass the correct pthread flags for all calls to compiler ↵Arthur de Jong2008-01-311-8/+9
| | | | | | 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
* 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-261-17/+17
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@564 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
* 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
* only test the first URI in the configfileArthur de Jong2007-12-211-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@513 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
* 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