]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nss/tst-cancel-getpwuid_r.c
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / nss / tst-cancel-getpwuid_r.c
index 254024f6cdf18fab5c5bf425786e28e85a2f569b..03f02dc3bca10e8cbd3376b1e061f8ad44024c66 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -14,7 +14,7 @@
 
    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
@@ -35,6 +35,7 @@
 #include <stdlib.h>
 #include <pthread.h>
 #include <pwd.h>
+#include <nss.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <semaphore.h>
@@ -177,4 +178,5 @@ do_test (void)
   return 0;
 }
 
+#define TIMEOUT 900
 #include <support/test-driver.c>