summaryrefslogtreecommitdiff
path: root/nss/bug17079.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-01-30 06:28:49 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-01-30 14:26:31 +0100
commitd7536874b85c33b770a0b249bcbeb499cd631d75 (patch)
treee2f0626d1a894f6ab81ea96d48b30e19543824f8 /nss/bug17079.c
parent9a1b267d470827ced2c81f6e711b5d5582a91a4d (diff)
downloadglibc-d7536874b85c33b770a0b249bcbeb499cd631d75.tar.gz
nss: Adjust tests to use nss_files only
Diffstat (limited to 'nss/bug17079.c')
-rw-r--r--nss/bug17079.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nss/bug17079.c b/nss/bug17079.c
index f3e88b349d..5f358f815a 100644
--- a/nss/bug17079.c
+++ b/nss/bug17079.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
+#include <nss.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
@@ -213,6 +214,8 @@ test_buffer_size (size_t buffer_size)
int
do_test (void)
{
+ __nss_configure_lookup ("passwd", "files");
+
if (!init_test_items ())
return 1;
printf ("info: %d test items\n", test_count);