/* Test cancellation of getpwuid_r.
- Copyright (C) 2016-2017 Free Software Foundation, Inc.
+ Copyright (C) 2016-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
/* Test if cancellation of getpwuid_r incorrectly leaves internal
function state locked resulting in hang of subsequent calls to
#include <stdlib.h>
#include <pthread.h>
#include <pwd.h>
+#include <nss.h>
#include <sys/types.h>
#include <unistd.h>
#include <semaphore.h>
return 0;
}
+#define TIMEOUT 900
#include <support/test-driver.c>