1/* glibc test for static NSS. */
2#include <stdio.h>
3
4#include <support/support.h>
5
6static int
7do_test (void)
8{
9 struct passwd *pw;
10
11 pw = getpwuid(0);
12 return pw == NULL;
13}
14
15
16#include <support/test-driver.c>
17

source code of glibc/nss/tst-nss-static.c