diff options
Diffstat (limited to 'nss/tst-nss-static.c')
-rw-r--r-- | nss/tst-nss-static.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nss/tst-nss-static.c b/nss/tst-nss-static.c new file mode 100644 index 0000000..98cf073 --- /dev/null +++ b/nss/tst-nss-static.c @@ -0,0 +1,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" |