]> git.ipfire.org Git - thirdparty/glibc.git/commit
nscd: Add basic test
authorFlorian Weimer <fweimer@redhat.com>
Thu, 12 Feb 2026 11:18:54 +0000 (12:18 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 12 Feb 2026 11:18:54 +0000 (12:18 +0100)
commitf5bab97a99be02a7e782e2a4fdbf6bcd762e9c3d
tree4484aae6fc0698ed3ad01696201d98b39b9b5af3
parentbba1920c8b20176986ee294d74cef404027d99e8
nscd: Add basic test

The innetgr tests are similar to a downstream test for rhbz#1054846.
This seems to be the first tests of this function.  The getnetgrent
tests are new, too.

Reviewed-by: DJ Delorie <dj@redhat.com>
nscd/Makefile
nscd/tst-nscd-basic.c [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/group [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/host.conf [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/hosts [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/netgroup [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/passwd [new file with mode: 0644]
nscd/tst-nscd-basic.root/etc/services [new file with mode: 0644]
nscd/tst-nscd-basic.root/tst-nscd-basic.script [new file with mode: 0644]