Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_ldapcmds.sh
Commit message (Collapse)AuthorAgeFilesLines
* Do not use user arthur in testsArthur de Jong2021-11-141-12/+12
| | | | | This makes it more complicated to run the tests on an environment where a local user arthur exists.
* Add Python 3 supportArthur de Jong2019-09-081-2/+6
| | | | | | | | | This ensures that both pynslcd and the command-line utilities work with Python3 as interpreter and runs some tests with all installed Python interpreters. This drops support for Python 2.6 and extends 5a84be2 to perform more testing with Python 3.
* Ignore password hashes in consistent mannerArthur de Jong2017-06-251-4/+7
| | | | | | | This changes the getent and getent.ldap tests to ignore password hashes that may be present in shadow lookups in a consistent manner. This also adds minor compatibility improvements.
* Portability improvements to test_ldapcmds.shArthur de Jong2017-06-181-5/+6
| | | | | | | | | This fixes an issue with the export statement in POSIX shell scripts, ensures that the commands in the output match those in the script, strips password hashes for shadow lookups (for systems without PAM where these are exposed) and only runs the tests if we enabled the utils. Fixes 246a1f3.
* Fix running test_ldapcmds.sh during distcheckArthur de Jong2017-06-161-85/+86
| | | | | | | | | | This ensures that Python can find both getent.py (from source directory) and constants.py (from build directory) when running the tests from the distcheck target. This also makes the script more similar to test_nsscmds.sh. Fixes 9c803d7.
* Add tests for getent.ldap commandArthur de Jong2017-06-041-0/+501
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.