glibc/nss/tst-nss-static.c
DJ Delorie a3fe6a20bf Update nss tests to new skeleton
* bug17079.c: Update to new test harness.
* test-digits-dots.c: Likewise.
* test-netdb.c: Likewise.
* tst-field.c: Likewise.
* tst-nss-getpwent.c: Likewise.
* tst-nss-static.c: Likewise.
* tst-nss-test1.c: Likewise.
* tst-nss-test2.c: Likewise.
* tst-nss-test3.c: Likewise.
* tst-nss-test4.c: Likewise.
* tst-nss-test5.c: Likewise.
2017-08-17 18:00:51 -04:00

17 lines
212 B
C

/* 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>