summaryrefslogtreecommitdiffstats
path: root/src/test/nss-test-util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test-nss-users: add new nss test that resolves users and groupsZbigniew Jędrzejewski-Szmek2021-03-231-0/+8
Inspired by https://bugzilla.redhat.com/show_bug.cgi?id=1929936. This is similar to test-nss-hosts, but does users, groups, uid, gids. Functions tested are: _nss_*_getpwnam_r _nss_*_getgrnam_r _nss_*_getpwgid_r _nss_*_getgrgid_r Other entry points should be tested too, but it's not relevant to the bug I was investigating, so I'm leaving that for later ;)