Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/testenv.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add a Travis configuration fileArthur de Jong2018-07-211-5/+16
| | | | | | This ensures that the integration tests can be successfully run. It configures a slapd instance with the test database, configures the system to use LDAP authentication and runs the tests.
* Add tests for getent.ldap commandArthur de Jong2017-06-041-2/+16
| | | | | | | | This more or less duplicates the tests from test_nsscmds.sh to test_ldapcmds.sh with some modifications for the differences in output. This also extends the test_nsscmds.sh tests to handle the case where shadow lookups do not go through LDAP.
* Various small fixes when using --with-module-nameArthur de Jong2015-03-221-6/+14
| | | | | | | This updates the test framework to support --with-module-name, ensures that exports.map is rebuilt when configure is re-ran, fixes parsing of nsswitch.conf (to determine what to return for passwd lookups) and fixes the check for _nss_ldap_version.
* Improve portability of ldap testArthur de Jong2013-10-221-15/+32
| | | | | | | | | This supports old ldapsearch commands that don't support the -x and -H options and ldapsearch commands that don't exit with a failure code if nothing is found. This also switches the test_myldap test to use the testenv check for the LDAP server.
* Make script to check test environmentArthur de Jong2013-10-221-0/+181
This changes the in_testenv.sh script into testenv.sh which has more checks and a few functions to configure the test environment.