+2018-01-30 Florian Weimer <fweimer@redhat.com>
+
+ * nss/bug17079.c (do_test): Use nss_files only for reading passwd
+ data.
+ * nss/tst-nss-getpwent.c (do_test): Likewise.
+
2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
[BZ #10871]
<http://www.gnu.org/licenses/>. */
#include <errno.h>
+#include <nss.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
int
do_test (void)
{
+ __nss_configure_lookup ("passwd", "files");
+
if (!init_test_items ())
return 1;
printf ("info: %d test items\n", test_count);
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <nss.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
int
do_test (void)
{
+ __nss_configure_lookup ("passwd", "files");
+
/* Count the number of entries in the password database, and fetch
data from the first and last entries. */
size_t count = 0;