mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
a3fe6a20bf
* 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.
17 lines
212 B
C
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>
|