about summary refs log tree commit diff
path: root/nss/tst-nss-static.c
blob: 98cf073deb3744121ba322a472da169b43881bf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* glibc test for static NSS.  */
#include <stdio.h>

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

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


#include "../test-skeleton.c"