1 | /* glibc test for static NSS. */ |
---|---|
2 | #include <stdio.h> |
3 | |
4 | #include <support/support.h> |
5 | |
6 | static int |
7 | do_test (void) |
8 | { |
9 | struct passwd *pw; |
10 | |
11 | pw = getpwuid(0); |
12 | return pw == NULL; |
13 | } |
14 | |
15 | |
16 | #include <support/test-driver.c> |
17 |
1 | /* glibc test for static NSS. */ |
---|---|
2 | #include <stdio.h> |
3 | |
4 | #include <support/support.h> |
5 | |
6 | static int |
7 | do_test (void) |
8 | { |
9 | struct passwd *pw; |
10 | |
11 | pw = getpwuid(0); |
12 | return pw == NULL; |
13 | } |
14 | |
15 | |
16 | #include <support/test-driver.c> |
17 |