]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc/nss tests: Fix getpw and getgr single-pass tests
authorMark Johnston <markj@FreeBSD.org>
Thu, 21 Jan 2021 19:30:19 +0000 (14:30 -0500)
committerMark Johnston <markj@FreeBSD.org>
Sat, 20 Feb 2021 16:35:32 +0000 (11:35 -0500)
commitc4573b48c6db5963451edb92e98361305b78d6ab
tree0515e1c504683ef8b99a75e0880393790f779ee0
parente1cbe25f5f36839b9ce042dfb0ce2a89b91f5d05
libc/nss tests: Fix getpw and getgr single-pass tests

Some NSS regression tests for getgrent(3) and getpwent(3) were not
testing anything because the test incorrectly requested creation of a
database snapshot.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 7abc10098b3d9c23d611294714b3058e8048aec0)
lib/libc/tests/nss/getgr_test.c
lib/libc/tests/nss/getpw_test.c