aboutsummaryrefslogtreecommitdiff
path: root/tests/tst-pam_get_data.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: check pam_get_data PAM_NO_MODULE_DATA return value semanticsDmitry V. Levin2024-04-031-2/+13
| | | | | * tests/tst-pam_get_data.c (main): Check that PAM_NO_MODULE_DATA is returned by pam_get_data iff the corresponding data is not present.
* tests: cleanup tst-pam_get_data to use test_assert.h frameworkDmitry V. Levin2024-04-031-131/+51
| | | | | * tests/tst-pam_get_data.c: Include "test_assert.h". (main): Rewrite using ASSERT_EQ() and ASSERT_NE() macros.
* tests: Add some pam_get_data testsMarco Trevisan (TreviƱo)2024-04-031-0/+180
The function was not tested, so add some basic testing to it.