| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* glibc test for static NSS. */ |
| 2 | #include <stdio.h> | ||||
| 3 | |||||
| 4 | #define TEST_FUNCTION do_test () | ||||
| 5 | static int | ||||
| 6 | do_test (void) | ||||
| 7 | { | ||||
| 8 | struct passwd *pw; | ||||
| 9 | |||||
| 10 | pw = getpwuid(0); | ||||
| 11 | return pw == NULL; | ||||
| 12 | } | ||||
| 13 | |||||
| 14 | |||||
| 15 | #include "../test-skeleton.c" | ||||