mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
16 lines
212 B
C
16 lines
212 B
C
|
/* 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"
|