Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix permissions of test configurationArthur de Jong2013-09-021-0/+4
| | | | | | This sets the permissions on the nslcd-test.conf file while running the tests to ensure that the permission checks for the bindpwn and rootpwmodpw options do not fail the test.
* Add a test for tio timeout calculationsArthur de Jong2013-09-022-2/+54
| | | | | This test checks whether the proposed remaining time to sleep is reasonable.
* Add a test for clock_gettime() supported clocksArthur de Jong2013-09-022-2/+162
| | | | | | This probes the system for available clocks to see if they can be reliably used to get a monotonic-like timer (the test doesn't verify the monotonic part, just usability).
* Small protability fixArthur de Jong2013-09-021-1/+1
|
* Improve robustness of test_manpagesArthur de Jong2013-09-011-1/+4
|
* Only run pynslcd tests if it is enabledArthur de Jong2013-08-251-1/+4
|
* Add a test for the manual pagesArthur de Jong2013-08-232-4/+53
| | | | | This replaces e0491d2 to run xmlto from the man directory. This handles the case more gracefully if xmlto is not available.
* Update files from test environmentArthur de Jong2013-08-182-46/+62
|
* Run pylint as a testArthur de Jong2013-08-183-3/+295
| | | | | This runs a somewhat limited pylint run against the source files. It should at least catch some issues.
* Implement tests for caching functionalityArthur de Jong2013-08-172-3/+464
|
* Have test_pycompile not write any pyc filesArthur de Jong2013-07-281-2/+35
| | | | | | | | We need to avoid writing pyc files because during make distcheck, the source directory is read-only. This also ensures that the test is skipped if the Python interpreter is not found.
* Test Python syntax on make checkArthur de Jong2013-07-262-2/+36
|
* Rename nscd_invalidate option to reconnect_invalidateArthur de Jong2013-07-261-1/+1
| | | | | This also renames the internal nscd module to invalidator for both nslcd and pynslcd. The new invalidator module is now no longer nscd-specific.
* Add an explicit cast to int in lookup_shadowArthur de Jong2013-05-201-1/+1
|
* Make the NSS tests dependant on the configuration of ↵Arthur de Jong2013-03-281-1/+45
| | | | nsswitch.conf
* Do not rely on printf() being able to print NULL stringsArthur de Jong2013-03-281-9/+16
|
* Add tests for nested group functionalityArthur de Jong2013-03-242-9/+287
| | | | | This also includes some changes to the test directory contents that were for other tests and functionality.
* Unpack the LDIF file to make diffs clearerArthur de Jong2013-03-242-0/+55867
|
* implement a lookup_shadow test command for use on ↵Arthur de Jong2013-03-112-1/+101
| | | | systems that don't allow querying shadow via getent
* small portability fix in test_pamcmds.shArthur de Jong2013-03-101-2/+4
|
* implement functionality to send a cache invalidation ↵Arthur de Jong2013-03-091-2/+2
| | | | signal to nscd
* add tests for trimming expressionsArthur de Jong2013-03-031-1/+14
|
* allow names with one character in default validnames ↵Arthur de Jong2013-02-231-1/+3
| | | | option and allow parentheses (taken from Fedora packages)
* support children search scope for systems that have itArthur de Jong2013-01-141-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1917 ef36b2f9-881f-0410-afb5-c4e39611909c
* support systems without ETIMEArthur de Jong2013-01-141-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1915 ef36b2f9-881f-0410-afb5-c4e39611909c
* check whether setnetgrent() returns int or void (for ↵Arthur de Jong2013-01-141-1/+5
| | | | | | FreeBSD) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1914 ef36b2f9-881f-0410-afb5-c4e39611909c
* reorganise configuration file parsing codeArthur de Jong2013-01-121-38/+42
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1913 ef36b2f9-881f-0410-afb5-c4e39611909c
* update FIXMEsArthur de Jong2013-01-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1901 ef36b2f9-881f-0410-afb5-c4e39611909c
* code style fixArthur de Jong2012-12-301-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
* reorganise and rename configuration options to be in ↵Arthur de Jong2012-12-302-4/+4
| | | | | | line with manual page git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1888 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the ldc_ prefix from struct ldap_config fieldsArthur de Jong2012-12-302-39/+31
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a lookup_netgroup command for systems that ↵Arthur de Jong2012-12-292-1/+57
| | | | | | cannot use getent to list netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1882 ef36b2f9-881f-0410-afb5-c4e39611909c
* update the netgroup by name request to have one result ↵Arthur de Jong2012-12-231-3/+1
| | | | | | entry per netgroup with multiple rows within one result git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1874 ef36b2f9-881f-0410-afb5-c4e39611909c
* update C coding style to a more commonly used styleArthur de Jong2012-12-229-652/+683
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
* also test for correct value of errno on timeout and make ↵Arthur de Jong2012-12-141-3/+14
| | | | | | read and write timeout tests consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1858 ef36b2f9-881f-0410-afb5-c4e39611909c
* also output debugging info in test_timeout_reader testArthur de Jong2012-12-141-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1857 ef36b2f9-881f-0410-afb5-c4e39611909c
* make test even more verbose and set number of writes ↵Arthur de Jong2012-12-061-4/+8
| | | | | | back at 10000 to avoid issues with systems with large buffers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1846 ef36b2f9-881f-0410-afb5-c4e39611909c
* rephrase test to more clearly explain what we're testing ↵Arthur de Jong2012-11-301-9/+14
| | | | | | and be a little more verbose git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1845 ef36b2f9-881f-0410-afb5-c4e39611909c
* allow attribute options in attribute mapping expressionsArthur de Jong2012-10-191-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1803 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide alternatives for assertion failures on Solaris ↵Arthur de Jong2012-10-131-1/+7
| | | | | | and FreeBSD git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1787 ef36b2f9-881f-0410-afb5-c4e39611909c
* update tests to new tio interface (fixes r1783)Arthur de Jong2012-10-131-22/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1784 ef36b2f9-881f-0410-afb5-c4e39611909c
* support alternative unknown user responseArthur de Jong2012-04-261-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1658 ef36b2f9-881f-0410-afb5-c4e39611909c
* warn when we couldn't get the gid or pid, the uid is the ↵Arthur de Jong2011-09-041-2/+7
| | | | | | only really interesting bit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1535 ef36b2f9-881f-0410-afb5-c4e39611909c
* add casts from size_t to int for printfArthur de Jong2011-09-041-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1534 ef36b2f9-881f-0410-afb5-c4e39611909c
* put external libraries at the end when linkingArthur de Jong2011-08-141-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1504 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace last traces of groupOfUniqueNamesArthur de Jong2011-08-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1488 ef36b2f9-881f-0410-afb5-c4e39611909c
* check whether the NSS shadow map queries LDAP before ↵Arthur de Jong2011-08-051-1/+1
| | | | | | returning x as a password has for shadow users git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1487 ef36b2f9-881f-0410-afb5-c4e39611909c
* update tests with change of member/uniqueMember default ↵Arthur de Jong2011-08-053-5/+7
| | | | | | change (r1484) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1486 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to using the member attribute by default instead ↵Arthur de Jong2011-08-031-2/+2
| | | | | | of uniqueMember git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1484 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle expressions where the expander function returns ↵Arthur de Jong2011-06-051-0/+4
| | | | | | NULL (handle it as an empty string) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1471 ef36b2f9-881f-0410-afb5-c4e39611909c