tst-nss-static.c 212 B

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