summaryrefslogtreecommitdiff
path: root/nss/tst-nss-static.c
blob: 6c3dc07622d355bb991830b09dd8f19794dfdc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* glibc test for static NSS.  */
#include <stdio.h>

#include <support/support.h>

static int
do_test (void)
{
  struct passwd *pw;

  pw = getpwuid(0);
  return pw == NULL;
}


#include <support/test-driver.c>